Firebase Realtime Database Listeners?

I’m interested in creating a game with Firebase Realtime Database. To prevent going over my monthly limit, I’d like to use listeners (as mentioned in the Firebase docs here). GDevelop doesn’t natively have a condition and/or action for this, so is there a way I could do it through extensions?