https://opensource.com/article/19/10/how-build-flatpak-packaging

conceptually sounds nearly simple enough to try (because Cin usually builds statically), but sandboxing might give some surprizes....