Example of such research, which is common, ethical, and completely legal to do:
https://www.shrm.org/resourcesandtools/hr-topics/talent-acqu...
People manipulate their identity all the time, flashy IG posts, financed fancy car, combing their hair, wearing makeup.
But code commit history is the line?