Sort of? As noted above, earlier eras are more likely, for both unit upgrade and warmongering reasons.
It theoretically knows to use siege units, surround the city with melee units to prevent healing, etc.
But has issues with coordinating the movement of multiple units at once, which tends to throw a wrench in things. Frankly I'm not even sure it does coordinate, but just moved each independently and then gets confused when unit 1 is now in unit 2's way.
So 'sieging' a city can often result in just re-arranging troops in the crossfire while you shoot at them. Of course "let me sit here with my archers while the AI suicides against me" was also how 5 worked as well.