Kerning Clean Up as a Filter

I am wondering if I can run Kerning Clean Up as a filter.

Basically I want to replace some glyphs with their alts and remove the new alts. But since I will be removing some glyphs, their kerning will stay?

Invalid kerning is removed automatically at export.