This should be possible, but you would need to write a quick app.js file.
Note that I haven't tested this, but I have done almost the same thing for the secure server setup I made.
Put the TiddlyWiki5 folder on your server, then your app.js file next to that folder. In the app.js file put:
$tw = require("./TiddlyWiki5/boot/boot.js").TiddlyWiki()
const args = ['/path/to/wiki', '--listen']
$tw.boot.argv = args
$tw.boot.boot()
then that should give you the same result as if you has terminal access and typed
node ./TiddlyWiki5/tiddlywiki.js /path/to/wiki --listen
so change /path/to/wiki to the path to the wiki you want and if you want to pass any more arguments to the listen command add them to the args array in the order you want them.
Remember that unless you add the credentials argument this has no access controls unless your server provides them separately.