In theory, yes, you can make Socket.io connect to your websocket server with the corresponding ws url.
In practice, I tried, and I had some problems, so you may need to adapt Socket.io to work properly. Of course, I tried 2.0.1 or similar, so it can work now without any problems.
source share