Not the O.P., but speaking from experience, yes, a thousand times yes.
Here in Sydney, Australia, both office and WFH are available at my work. I'll have anywhere between 0% and 90% of my team in the office depending on the day or week.
In my experience, even being the only one in the office is a thousand times better than WFH.
Whether teammates are WFH affects me less than whether I'm WFH.