You can just use the devcontainers feature in normal local VS Code (https://code.visualstudio.com/docs/devcontainers/containers)
Even the next version of IntelliJ will have partial support for them (https://blog.jetbrains.com/idea/2023/06/intellij-idea-2023-2...)