Customized Permission View/Dialog

Hello,

I’m building an app that will use geolocation.
So, I was wondering if is it possible to use a custom window to request the users permission to access their location, instead of the default OS alert dialog.

Thank you!