If you can ever compensate for them at all. It’s basically impossible to make lifelong friends after 35-ish. Maybe that’s why all the seniors I know are inflexible about relocation, among the many other reasons. Too much damage for a job you might not even like (who knows, it can go either way despite best attempts).