Apple has good reasons to allow this. Inside a corporate network for example you may not want DNS queries going to Apple’s servers.
So Apple has made it very easy for a network admin to disable private relay. All an admin needs to do is blocking name lookups for relay.Apple.com*
*I don’t recall the actual DN used, it’s in Apple’s docs if you are curious.