That would be cool indeed. Current jsdos doesn't support networking afaik. v86 does so you could get DOS running in there and use WebSockets. I've also seen people directly porting dosbox with networking support to run Windows 3.1 with Netscape, in VR. So it's possible for sure.
http://assets.metacade.com/emulators/win311vr.html