Mandatory home home inspections is a good idea.   However, it's naive to think it will make any difference.   Getting a good home inspector, AND a competent inspection is a crap shoot.  Qualifications of inspectors is all over the map (they are unlicensed) and many flaws cannot be seen in a buyer-home inspection, anyway.

Probably better to just institute some kind of insurance program that will cover flaws that turn up after closing.  Kind of like the one they use for title insurance.    But don't think that would be cheap!