If you haven't done the WFHwork-from-home thing permanently than the shock of not being around people can be disconcerting.
My previous position was a six-month contract that was fully remote. This was after 21 years in an office complex with 4,500 people. The first week or so was very nice (loved the commute) and my dogs were extremely happy (dadsdad's home, dadsdad's home).
After about the 2nd week I was missing human interaction. I'd take my laptop to the local Starb*s or Panacafe to have a cup of coffee and work from there for the morning. This cut down on the boredom.
Once I started this I really liked the WFHworking-from-home and was sad to see the contract end.
In summation - only you know how you work and which environment will 'work' for you.
Good luck!