You absolutely don’t need a pi to run pihole. They have a list of officially supported OSs that can run the software, regardless of the hardware (as long as it meets the insanely low system requirements), and it can also be run in a docker container.
Their Official website has easy to follow step-by-step instructions