Yeah, PoE makes this sort of thing much easier. The Unifi Switch Flex Mini [1] is even cheaper, but requires "real" PoE (not passive 24V), and doesn't pass through PoE. The various in-wall access points [2] are PoE powered, PoE pass-through, flush mount to a wall plate, and have an integrated four-port switch -- depending on use case the WiFi is almost just a bonus. If you have ethernet cabling in your place, it's definitely worth putting PoE on it for the options it opens up.
[1] https://phytools.com/products/100base-t1-media-converter