You don’t inherit introversion or extroversion, but you certainly grow up internalising certain modes of behaviour as ‘normal’.
A friend of mine is an extreme introvert solitary who wants nothing more than to never leave the house unless he has to for work, maintains no friendships, and is thrown into distress for a week either side of the most innocuous appointment, like a parent-teacher meeting. He is also very sedentary. He finds my life (and I’m far from wildly extrovert or very sociable) an unbearable whirl of activity.
His ex-wife is not dissimilar, and spends all her free time on a solitary indoor hobby. Neither have extended family nearby, and as neither parent ever sees friends, they are their children’s only real role models.
It is hardly surprising, then, that their children never leave the house apart from for school, do no sports, classes or hobbies, and spend all their time gaming. I think it’s more learned behaviour than anything else. In the case of the children, I think it’s been very life-limiting.