Yes, but some are obnoxious and card everyone, others card only people who look like teenagers. Some have armed security that pats you down, other's have no guards or bouncers.
I'd personally rather spend my free time at a business that doesn't harass me, so when it's up to me I go to more chill bars.
My point being, this behaviour happens in real life too... and some people would rather go to bars that have high-security, dot their Is and cross their Ts. But ultimately the choice is up to both the business and consumer, it doesn't have anything to do with being acceptable or not.