Is there a limit for the number of soldiers you can define? If not, or if it's rather large, any mod you install could just add all soldiers to the database, then merely define which ones they use for their units in the .txts in the mod folder(s).