I can't see why it wouldn't work
as long as both toilets aren't being flushed at the same time. If one of 'em hogs the water
, the intake impeller in the other one could be damaged by dry friction heat.
On a different note...When you move and replace the toilets, be sure that each is on its own separate dedicated circuit shared by nothing else, and with its own breaker 'cuz you don't want anything to reduce power to the motors...low voltage not only kills electric
motors but is also a leading cause of sluggish discharge.