Is using flatpak dangerous ?
See:
https://www.kicksecure.com/wiki/Install_Software#Flatpak
(Whonix is based on Kicksecure.)