pihole v5 blockes also TXT records, so blacklisting blocked.domain
should suffice.
If your firewall allows it, you could use the daily updated (updates if changed) IPv4 and IPv6 lists to block port 443 for specific (DOH) IP' addresses.
https://discourse.pi-hole.net/t/doh-dns-over-https-ip-block-list-s/30393