I combined a Pi-hole with a reverse proxy for accessing my services locally, and it works perfectly
If you want to override your DNS records to have local access to your self-hosted services, this works perfectly.

A reverse proxy is one of the best ways to access your self-hosted services, as tools such as Caddy and Nginx Proxy Manager will enable you to host services on various subdomains of a domain that you own, complete with their own SSL certificates. The downside of this is that, if hosted on a public IP address, your connections will be routed out of your home and then back in, or they may require you to keep a VPN like Tailscale always connected. There's a way around that, though; a Pi-hole.