Home inspections are pretty normal when you buy a property. I have no idea what work on my >200 year-old house was permitted. While the latest batch was, I'm guessing a great deal wasn't. But I don't actually know. And, if you're buying a >200 year old house, you know that along with a lot of other things.
Inspections are common but mostly just a surface examination. They cannot, for example, inspect electrical wiring. They can recommend you hire an electrical inspector.
I just sold a 120 year old house. “I don’t know” is a valid answer to the disclosure requirement but it better be true.