I think that you can do something like this with VS Code's Live Share[1] feature. And I think it's possible to do read-only sessions as well. Been a while since I looked at that feature though, so I'm not certain.
[1]: https://docs.microsoft.com/en-us/visualstudio/liveshare/use/...