It's easy to install Flatpak on your current Linux distro. Flatpak officially supports 36 distros. Some of them already have Flatpak built in, while others (including Ubuntu) require just a few minutes to set up Flatpak and Flathub:
https://flatpak.org/setup/