It has already been discussed on LuaRT discord server. Cosmopolitan cannot be used for LuaRT, as the core LuaRT runtime uses Windows specific API functionnalities
Redbean is a very good project, but it's a specific Lua interpreter, not a binary module that can be used with Lua or LuaRT