People have, for the past thousand centuries or so, somehow managed to eliminate their waste without carrying an internet-connected pocket supercomputer.
Okay… I’m just saying that restricting access to a lavatory sounds cruel and unusual.
If you meant to say that we can prevent phones from also entering said restroom, then that sounds great. I have my doubts that it’s possible, but I’m fine with that solution in general.