Oh yeah ! Onomastics (the study of names) is very cool ! And a nice data point to add to personalized data. I did a project with that a while ago to study discrimination in France (https://namograph.antonomase.fr/) and it worked pretty well as long as you have large samples and stick to distributions comparisons.
Some nice use w.r.t. social mobility : https://www.amazon.fr/Son-Also-Rises-Surnames-Mobility-ebook...
A good API to work with : https://namsor.app/