This is way more nuanced than introverts-extroverts. I'm not a massively social person and I prefer working in an office over working from home by a very large margin.
My wife is exactly the same, while I'm fine with either (prefer meetings in-office but have been working 100% from home over a year now; though I personally haven't "made friends" from my work/office since I hit management, so an office setting doesn't provide that incentive to me).