I believe some tax accountants say it can be used as a write-off (just like a certain number of square feet of where you live, if it is only and demonstrably for that). But as far as preference, I would be surprised if a company with an office somewhere near would be pleased with you working in a coworking space. Maybe some but big companies, probably legal issues (VPN or not).
My accountant always told me maybe but there are conditions and it's a red flag.