You can’t do it.
Your ally can’t load a ground unit onto your transport at the same time one on the transport gets off (to a different territory)
I had a French unit on the USA transport in the English Channel, and wondered if I could unload him on Europe while the 2nd French infantry got onto the same USA transport. All during the French non-combat phase, of course.
You can’t do that.