That would need UI similar to Qubes that would have to be built and integrated probably on the IDE side. Purposefully, flatpaks don't typically ship a whole OS like Qubes VMs do, so the gap has to be filled somewhere.
Also, Python developers seems to be dealing with this stuff on a daily basis with virtualenv, so this isn't something new.