@em I'd like to but it's been hard because electron-builder doesn't play nice with it out of the box.
Tracking issue here: https://github.com/AgregoreWeb/agregore-browser/issues/217 and docs here if you'd like to send a PR https://www.electron.build/configuration/flatpak
ATM the most portable option is appimage.