There is a hobby shop by me that strictly enforces it, as nerds and hygiene don't always go together. I have seen them kick multiple people out. It doesn't seem to negatively impact their business, and I prefer going there to play games over one that is closer that does not have that rule (plus the other place tend to be hot which makes it even worse).
I'm not saying it's impossible. I'm saying it's not free. Every employee busy kicking out homeless people is an employee not busy with his direct duties. Starbucks already carries the burden of providing free shitters to bums, now they also have to pay for hygiene code enforcement?