Hi and welcome!
You can definitely do this, and many of the pieces already exist!
If you can use Python, here’s a link to the forum thread for @Nick_W’s async Python library and MQTT bridge.
And for some guidance on encoding pixels, sending them via the websocket api, and decoding them in Pixelblaze pattern code, here’s a pointer to my “proof-of-concept” e1.31 proxy