Control Tuya device via pure HTTP?

Hey, I’m new to ST and SharpTools but I’m happy to play around with it.

After many try and error, I have one Wifi Tuya device (Moes Dimmer Plug) that I am able to control via a little bash script through the Tuya API. I wonder if someone has ever tried to integrate this fully into ST (with some Edge Drivers?) and SharpTools to finally get rid of the broke Tuya Integration of ST and the workaround with Alexa? the bash script makes really magic because you have to sign the whole request, but I guess this could be done with javascript. Is it possible to do real javascript stuff within SharpTools?

here is a good and short example for tuya api with bash curl - Call to Tuya API via bash - Stack Overflow