What about this thermostat housing? Can it be saved?

I would be a lot more worried about the inside of the housing to see if any spots are getting thin and where the gasket sits against the engine.
As stated above, the lip does more work than anything. And if you're still worried then add some jb weld and sand it smooth