I can do that, and here is how I have mine setup. I run a combination of battery backups for the main tank to keep it running for days if needed.
The primary UPS for the entire system is one of these UPS units.
Main UPS backup unit
This protects all the lights and other various components from electrical issues and provides about 2 hours of power to the main system. But it's only meant for short term backup power. Computer UPS units are not very efficient due to having to convert 12-24v DC to 110v AC so I wanted something better. Since all the circulation pumps are DC powered, I added a secondary battery unit with voltage converters to raise the output from 12v to 24v so all the circulation pumps will continue to run if/when the UPS runs out of power.
Battery backup modules are one of the best investments any serious hobbyist can purchase. The IceCap Battery backup system is compatible for most 12-24 volt DC powered pumps. Most notably the MaxSpect Gyre 230 and Gyre 250 pumps, along with the IceCap 1K and 3K Gyres. Power outages will...
www.bulkreefsupply.com
The IceCap unit is vastly more efficient than a UPS since it uses a 12v supply and a very simple diode based circuit to supply 12v dc to the output ports. As a result it it will power the devices connected to it for far longer with a much smaller battery than a standard UPS unit. This is because there is no energy reserve loss when converting from 12-24v to 110v then back to 12-24v for the pumps.
The voltage converters that I spliced in to the outputs of the IceCap unit-
Voltage converters
I also wired in an external 12V 35AH sealed battery to the IceCap unit that increases it's total run time capacity to 43AH. Based on the total AH capacity of 43AH with a total voltage draw of 12v at .65a gives the main return and powerheads about 65-70 hours of continuous power before I need to recharge the batteries.
I know it seems a little convoluted but it's actually a fairly simple setup that gives me plenty of time to deal with sustained power outages if they occur.
For the rest of my tanks I just use a smaller UPS and have the main pump connected to the battery backup side, and the rest on the surge side.
Standard UPS unit
Lol.. I think I had my finger covering the mic on my phone. that was my wife and daughters and probably chickens in the background that you can hear.