Create a task during installation

I’m starting to understand how Electron works and if it suits my needs.
For now I have started reading the documentation and watching tutorials.
I would like to create an application that every morning when you turn on your PC make API calls to retrieve questions to ask the user via the web page. And then always send the answers via API.
I would like to ask you if it is possible during the creation of the installation package, to define that during the installation you create a task on the PC to perform this operation (multi plateforme)?