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?
No. The far more likely way to handle it is with flocculation/coagulation since plants are already set up to support this.
Edit: the quick and dirty overview: shit water comes in. Chlorine and other chemicals are added to the water which kills the bad stuff. Polymers are added to the water which binds to the chlorine, causing chunks. Chunks removed. Water discharged. You can change the polymers used to bind specifically to which pollutant is coming in.
That part of the process is called flocculation. Using it to add polymers that have additional capability (like removing microplastic) is where you’d want to do it. The cost is the polymer which would be some sort of reasonable, not rebuilding every plant that exists to boil water.
Check out the video on the flocculation page. Does a great job of showing how floc works.