Well not the randomized ones that you have, but static ones are super easy -- make a 'train a legion' building available to be built. Trigger on it being built, create the army, then destroy all legion buildings for that faction, even if global action.