XGM (Extended Greek Mod) increases the upkeep costs for armies dramatically, so it kinda works anti-stack.
Yet the AI gets scripted stacks when you siege certain cities to represent how important those cities are placed strategically for each faction on the campaign map.
In short:
In XGM you won't have fully stacked armies, the AI will.