Hotspot Internal Login Page connected to External Database for login Credentials

Hi,

I’m fairly new to Mikrotik and is amazed by it’s configurability. I’m currently working on a hotspot service, with a custom internal login page. Is it possible to have the internal login page fetch login credentials on an external database? Specifically firestore. Thank you in advance.