Working from the office gets more useful when more people do it, because of easier communication with teammates, so mandates can absolutely make the work environment better for someone who wants to work in the office.
I wouldn't hire someone who wants to work in a office if they gave me this explanation, sounds like they really lean on the other team members to get day to day work done and probably struggle working independently.