<p>It works intheory, but I'm not sure how one could enforce it, because someone could hoard troops and then bring them all out to the same place, and then half of them despawn taking any valuable equipent with them. You'd have to figure out a teleport mechanic where it teleports your units to the closest unloaded spawpoint set by the player, or something like that. For servers, they could have a hidden plot where unused hired units teleport to, but there would be complicated (if not impossible) command blocks and there would be the challenge of making sure no enemy hired units massacre each other while in the "holding cell" plot.
</p>