I can't give you in-depth direction, but I presume you would be able to do something using the PureCloud Data Actions Integration. You would have to build custom actions to get the data you want via the API and update the external contact.
I'd probably use the
https://developer.mypurecloud.com/api/rest/v2/externalcontacts/#get-api-v2-externalcontacts-reversewhitepageslookup GET to populate the script based upon ANI, and
https://developer.mypurecloud.com/api/rest/v2/externalcontacts/#put-api-v2-externalcontacts-contacts--contactId- to update the contact with changed information.
It will take some careful configuration/coding to get the Custom Actions created and working properly.
------------------------------
George Ganahl CCXP, GCP
Principal Technology Consultant
Genesys
------------------------------