Please, read this: https://docs.flatpak.org/en/latest/tips-and-tricks.html#adding-a-custom-installation