Yes, I thought about that too, but I guess that UPS will not survive 18 years - the battery for sure, the device probably neither. Can you replace one without shutting down the server?
If the UPS is connected to one of a redundant pair of PSUs, yes.
You just need one of these switches that allow you to switch between ups/grid power and you can change the ups without shutting down the server.