Flatpak over tor

flatpak and tor. Can you run the flatpak software and flatpaks over the onion router? If so is there an article on the matter? To me the matter can be devided into two parts. One is the flatpak software itself. Does the flatpak software get on the internet? If so how do you make sure it will do so over tor? The other part are the flatpaks. Can you make sure they only go on the internet over tor? Thank you.