Route incoming calls to multiple servers with device and user mode

I’ve not been able to find much information when Googling, and I’m not sure it this is even possible.

I was wondering about the feasibility of having several Asterisk servers using device and user mode where the users can log into any of these servers. Is there then a way to route incoming calls to the correct server (i.e. the one where the user is logged in).

The scenario I have in mind is having three Asterisk servers in separate offices, and all users can log into their extension on any device. If someone usually based in office A for the day travels to office B and logs into a phone there is there any way to automatically start routing their calls to the device they’re logged into at office B?