My understanding is that Flatpaks are generally reserved for GUI applications and not command-line tools or servers. I’m not sure it’s the ideal format for Immich.
That said—and I’m probably going to get hate for this—there is an Immich snap package that does just what you’re looking for.
So the administration wants to win the AI race through deregulation, except they want to regulate its social compass. Make it make sense