While a lot of scientists are reluctant to believe that our behaviors can be dictated by genetics, there is a lot of evidence that genetics plays a role in core characters.
Inherited behaviors displayed by children can be argued to be a component of environment.
However, it is not uncommon to find that adopted children have behavioral traits in common with birth parents that they had previously never known.
Temperament is obviously groomed by a person’s environment, but genetics also clearly plays a role.
So it’s not a stretch to expect that other core behavioral traits like the urge to travel would also have a genetic component.
Sources:
elitedaily.com/life/culture/wanderlust-gene-people-born-travel/953464/
news.bitofnews.com/the-wanderlust-gene-why-some-people-are-born-to-travel-all-over-the-world/
matadornetwork.com/life/23-signs-born-travel/