I have never seen an army built and use by AI, do you know how to force it to do so?
As far as I can tell, the simplest way to get the AI to
load Armies (and fight with them), is to mod the Army-unit: reduce the transport-capacity to only 1 unit, but give it a substantial HP-bonus (say, +8 HP) as partial compensation.
But getting the AI to
build Armies...? To quote Han Solo: "Well, that's the real trick, isn't it?"
In the (rare!) event that the C3C-AI obtains a "Battle-Created Unit" (i.e. the MGL) in the epic game,
and manages to retreat it safely to a nearby city, it then tends to 'prefer' to use that MGL to finish building improvements (including Great Wonders!). It rarely (if ever) converts MGLs to Armies — and when it
does build an Army, it rarely (if ever) finishes filling it properly, so will not send it out to fight. Which means that it also rarely (and more likely never) has the option to build the Heroic Epic or Military Academy (both of which "Require a Victorious Army").
So the first thing I would do would be to give the MGL "All Terrain As Roads", so that it can be reasonably sure of reaching safety in the first place. I would also mod it so that it can
only build Armies, thus preventing the AI (but also the human player) from doing anything
else with it. AFAIK, the Firaxis Editor only allows the "Leader" AI-strategy to be checked if both the "Build Army"
and "Finish improvement" special-action flags are checked, so this second change would have to be done with an alternative Editor (e.g.
@Quintillus').
Another possibility would be to use autoproduction to 'give' MGLs (or Armies) to the AI (but also the human player) at regular intervals — but doing the latter will circumvent the "X cities per Army" limitation. So you'd probably better limit that facility, both in terms of a longish autoproduction-interval, and to a single building, ideally a Small Wonder (e.g. the Military Academy), which — if this is the only way that Armies will be built — should not require a victorious army as a prerequisite!