It’s possible. I haven’t found a good websocket implementation for Arduino yet. There are a few out there but none that I’ve found support the latest websocket protocol. It’s also a bit heavy for Arduino due to the size of the frame header required in the latest websocket protocol.