Will Pi-hole in the future support Ubuntu 22.04?

It likely will. Please note, there is an (upstream) bug you might need to work around:

thanks sir, I can now install it with the command

PIHOLE_SKIP_OS_CHECK=true bash -c "$(curl -sSfL https://install.pi-hole.net)"