While I use NextDNS DoH myself, I added a new custom resolver within AdGuard for NextDNS DoQ. It saved and worked without any apparent issue. I used the following format:
quic://ConfigIDHere.dns.nextdns.io:8853
Replace "ConfigIDHere" with the ID of your desired NextDNS configuration.