It's actually thought to be somewhat common during early industrial warfare before the national professionalization of armies, like the 18th Century wars, for that to occur as many soldiers were pressed into service, as the armies moved about you could find yourself pressed into fighting for Austria, Prussia, Russia, France, etc. all over the same areas since you'd desert as the army moved away.