Yes. It involves a specific sequence of commands.
Here is one from my Poke-in-the-Eye chaos map.
Code:
#setland 45
#fort 2
#knownfeature 615
#defence 31
#commander 1107
#randomequip 4
#bodyguards 8 1106
#units 5 1105
#owner 23
#nostart 45
#commander 1447
#randomequip 4
#bodyguards 7 1444
#units 9 1442
#commander 774
#randomequip 4
#bodyguards 6 773
#units 11 773
Set the land, place the fort, put units there. THEN assign ownership and then put more units.
Courtesy of Endoperez for finding this for us