Is it possible to install flatpaks into chroot session like pacstap does?

When I sit in the Arch ISO environment, my typical approach involves installing packages using pacstrap, such as pacstrap -K /mnt package1 package2 package3. However, I am interested in integrating flatpaks rather than native packages. I aim to execute a command akin to arch-chroot /mnt sh -c "flatpak install flathub -y test1 test2 test3", but I am encountering challenges in implementing this effectively. Is there any good way of installing flatpaks into a chroot session?