That was my solution when we did a remodel of our house.
Cat6 and PoE to each room. Unifi Dream Machine Pro in a rack in the garage and Unifi In Wall APs (with ethernet out) in each room.
They were easy enough to swap out and upgrade to Wifi 6 when that launched.