Non-game application on this engine?

You could probably make a doc-whatever to RichText convertor. There are probably existing parsers you can use for Lua.

@ross.grams is correct that other tools may be better for app domain specific stuff. But there’s still nothing stopping you from using Defold. You can even run your own HTTP webserver with Defold and allow uploading/downloading docs from your local network.