Great, more Government overhead and regulations, no thanks, we need less Government, not more.
Everything in life is Buyer beware, but everyone wants someone to do the work for them. Bad Flippers exist because many people can't see past the pretty/shiny to the poor underlying workmanship. It will show up within a few years though, and then a lesson is learned.
Good Home Inspectors should catch the issues you pointed out. Note that I said "Good", there are some Inspectors that aren't worth their fee. Anytime I hear of someone with an issue that should have been caught, I tell them to circle back to the Inspector to see why it was missed.