This should be illegal.
Plus "no cooking allowed" is not about having or not having a kitchen.
I'm an adult, if I never cook because I like to eat out, shouldn't that be my choice? Who am I hurting by choosing not to cook?
The idea of what's good at large is what differentiates a society from a bunch of people that just happen to share a country and a legal code.
Who am I hurting by choosing to eat out every day?