Yes, I think it's probably similar to that in a lot of areas.Yeah, I've heard of this.
A long time ago I worked with a woman who lived in a big apt complex, with a lot of subsidized housing. I think it was twice a year, all the apt were inspected. There was no choice, you either allowed the inspection, or received a 20 day notice to vacate, then it was inspected. Was not an issue for her, and she usually got several weeks notice.
Imp
The property owner receives the initial notice and the tenant has the right to refuse consent. I would think inspection warrants are not totally uncommon.