It's not exactly the same but you can "hide" a ssh server on port 443 with haproxy
It's not really hidden as if you initiate a connection with ssh it will reveal itself, but if you try https it will reply as a webserver
It world by looking at the first few bytes and deciding what to do based on that
At one point I was running https/ssh/openvpn/custom-tcp all on one port..
Here is someone else explaining how to do it, I don't think I ever wrote it up