Our waterways are becoming more and more polluted due to PFAS, plastics, medicines, drugs, and new chemicals made by companies that just hand over the responsibility of cleaning to plants paid for by public moneys. Detecting the different chemicals and filtering them out if getting harder and harder. Could the simple solution of heating up past a point where even PFAS/forever chemicals decomposes (400C for PFAS, 500C to be more sure about other stuff) be alright?
Let's assume that heating water to 500C does what you want it to do. Even then, the sheer amount of energy required to do this would be massive. It would just be incredibly uneconomical to do this, when other cheaper solutions (like not polluting in the first place) exist.