not completely sure because I haven't messed with it for civ5 yet, but in civ4 it was done with mesh groups and formations so its probably done in a very similar fashion. Its definitely possible, the Legions mod makes all units appear as a single individual but much larger, so its easier to see.
Looks pretty weird having a man taller than anything on the map, but it does make it easier to tell what is what.