I haven’t tried it yet, but it might be possible by doing a `devbox build` to create a container with the environment. Then you would configure it as a PyCharm Docker interpreter, similar to what you’d do with Podman.
Implementing support for virtual envs in the shell would probably work better.
At the end of the day, a devbox shell is just your system’s regular shell with environment variables that point things to your system’s Nix store. Anything that’s able to launch from that shell and inherit the environment should work.