Yes, you can - I use it with Awesome WM, and with OpenResty/Nginx, and it works fine. MS compiles to pretty straightforward Lua and doesn't include any code that would make it hard to run as an embedded scripting language.
> Because it compiles right into Lua code, it is completely compatible with alternative Lua implementations like LuaJIT, and it is also compatible with all existing Lua code and libraries.
It would seem that there is no reason you couldn't.