The only way to do something like this would be to run a server which converted SSH into something else (e.g. with the server establishing an SSH connection and then relaying the data to and from it over a WebSocket).