Yes. I've had no problems and my Epson 7900 has been connected to a UPS for over 5 years. One UPS was literally "smoked" by a lightening strike, yet the printer and computer connected to this UPS were both unharmed. The particular UPS is and was a CyberPower CP1500PFCLCD.
An added note is that any UPS needs to be properly grounded in order to work correctly, and all cables (power, network, etc) from the outside world need to be protected. If not, damaging currents can reach "protected" devices through those unprotected paths.