Can i use nodejs as backend for any custom app

In frappe, backend is handled using python and frontend is handled using javascript now i want to use nodejs for backend
how can i do it?

This is a same topic. You can see the conversation and may get the solution.