For my context here, I went to a high school that was centered around progressive education principles and I never had to ask to go to the bathroom. There were no disciplinary policies like that. And in fact, everything was fine. We all still worked hard, paid attention, and got our diplomas. I think too many teachers assume students are all malicious gremlins trying as hard as they can to avoid school. Turns out, most adults will start to chafe too if you tell them they have to ask to go to the bathroom after the third time doing so in your presence, let alone if you make them ask every time. And some adults will even use bathroom breaks as an excuse to waste time.
So be it! That's life.