For any installed flatpak app you can create an image.? Start with an empty directory, then do:
?
flatpak create-usb /path/to/directory org.kicad.KiCad
?
That will create a hidden directory called .ostree within the directory you specified and will put the KiCad flatpak app in place.
?
You can then do an install via:
?
flatpak install --sideload-repo=/path/to/directory/.ostree/repo flathub org.kicad.KiCad
?
Please note that flatpak normally installs dependencies as needed.? I'm not sure how that works with the above commands - I've only tested saving/installing the KiCad app and libraries, not any dependencies such as the org.freedesktop runtime.