One potentially tricky thing is that larger companies may have rules against co-working.
My last BigCo employer had a lot of WFH (as exceptions and due to acquisitions or site closures, the overall policy was butts in seats, but still). If you actually read the security policies, you saw lots of things that would make co-working de facto a fireable offense.
But I doubt it was ever enforced, and I bet a lot of people did it. I had a proper home office instead.
It’s best to know what the co-working rules are at your employer.
O/T: Apple autocorrect thinks “coworking” should be “cowering” which is probably a worst-case version of my point...