Last I looked into this, it seems there's products out there now that offer "nanofiltration" which has more permeable membranes than RO filters so the minerals can pass through but the more complicated molecules like PFAS cannot.
In fact it will leave in not only metal ions, but pesticides and antibiotics too.
More info here https://aquaclearllc.com/technical-info/reverse-osmosis-vs-n....