Mehemayi machan, no one is stopping you from buying a computer UPS and it will work..... but it has few main issues
1. It uses Pb batteries, which are not designed to deep discharge and frequent charge discharge cycles
2. In Computer UPS you are converting 12V to 230V and then your router...