Well there is an interesting history to passports. This article does a decent job of outlining how they morphed from a tool to help fight the Spanish Flu to what we see today.
https://apposition.substack.com/p/papers-please
Also there is quite a bit of economic work that showcases the positive impact of removing such stringent barriers to the free movement of people.