Using a 4g/5g router is much easier and probably cheaper/power efficient.
Depending on your area you don't even need an external one. A simple 4g dongle would do.
When here is local power outage and everyone switches to 4g/5g, it is overwhelmed and unusable.
Yup, OP is from the UK. In the UK I got a ThreeUK business SIM for £49 that lasted 2 years with 500GB data. It sits in wan failover and manages about 50mbps which is perfect to keep most services running.
Unifi (which the OP uses) even has dedicated devices for this type of failover: https://help.ui.com/hc/en-us/articles/29887153953559-UniFi-5...