varkey
I got banned!
Your normal inverter would work. Just get a electrician to wire your socket (near modem) to inverter.
It certainly works, although I wouldn't say it's efficient. But then yeah if you already have a power backup system for your entire house, perhaps it makes sense.
But then if it's specifically for the routers and modems, I would say a DC UPS is way more efficient.