SimulaVR is the leading project in that direction I think: https://simulavr.com
With a Oculus Quest 2 - which has the highest resolution of the affordable VR headsets - it's still a little too grainy for prolonged coding sessions. But I think they'll get there in 1-2 generations.