You could also use https://nextdns.io. It’s basically pi-hole in the cloud.
I pay $20/yr for their service it’s so good, and I can turn on/off quickly per-device when I need normal dns to work, instead of having to ssh and tweak pi-hole or whatever across the whole network
Why wouldn’t you be able to? Pihole is just dnsmasq with a frontend.
The biggest curse of the Raspberry Pi is a whole heap of stuff that has gone from “needs a UNIX server” to “but surely that requires an underpowered UNIX server with a very specific distribution of Linux”.
Pi-hole runs just fine in Docker [1]. You don't need a Pi to run it.