I think that's the same idea as Ubuntu's snaps. A different implemention, of course. However, snaps are conceptual more secure. However there's rootless Docker now.
inb4: Flatpak is not as powerful as snap. E.g., you can't use a different level with Flatpack.
inb4: Flatpak is not as powerful as snap. E.g., you can't use a different level with Flatpack.