Actually, I was just playing AoE2 (the original from 1999) last night with my family and discovered this feature.
When joining a multiplayer game, you can choose player number and team. If you choose the same player number and team as someone else, both players have control of the same units.