Yes, you can.
Electron uses a main process and multiple render-processes. In the main process, you can write your backend logic, the event listeners, and your controllers. The render processes are windows. You can display anything you want within them.
The easiest way is to require your "server.js" in the main process.
Do you want to use Electron as service monitor or as a client too?