It can, requires a database (MySQL/MariaDB or sqlite) and creating the good script.
I did that before (in PHP) but the maxmind db changed and I didn't look their new schema nor usage.
And it will just provide geolocalisation informations (not alway good), without VPN/Proxy info.