I can confirm now that it is indeed possible to upgrade a corporate agency-booked AA-codedshare marketed BA operated flight. They will have to convert the AA codeshare to a BA number to process the upgrade but this took less than 30 seconds by a knowledgeable EXP agent. It seems however that most agents don't know how to properly execute this process.