Pyodide allows Python to run in a browser. Suppporting Pyodide should make it possible for modelx to integrate into xlwing lite.
modelx is a pure Python package but there are parts that may be CPython specific. Test modelx with Pyodide an see if it works with modifications.