Do you find that you really have degraded performance with Flatpak? On my pinephone running postmarketos, all my non system applications are from Flatpak, which allows sandboxing and easy updates. I can't say I've noticed any performance differences (unlike with Snap last time I tried it).