Loading advanced features in ElectronJS client app



Is it possible to load advanced JS/HTML modules in client app, only after user authorizes via login into our official website?

For example, we offer a “simple calculator” feature as default in client app, and if user logs into website (say paid account users), we load “advanced scientific calculator” into client. But once app/session is closed, the “advanced scientific calculator” feature/files also gets deleted permanently and never be accessible even from source code directory in os.

Is such beahviour possible?