carbon filters remove PFAS but they're relatively ineffective so you need an awful lot of carbon to get a substantial reduction at least compared to the amount needed to remove other things.
RO is effective, as the chemicals in question have fairly high molecular weight.
But then RO is usually used with a bladder tank which will leach plasticizers so ::shrugs:: (they taste awful at least, so the norm is to follow up the tank with RO).