Firebase and Gdevelop5

I’m creating a game that has miners, and I want them to work even when the application is completely closed or just closed, my question is, is it possible to do this using Firebase Google? And How?