As someone who has done it for over a decade, in software, it's totally doable providing your org has all the infrastructure and has a culture that successful business requires treating their employees like humans who need to socialize, communicate, and slack off a bit like they would in a physical office. Usually online work turns into a push to maximizing efficiency and minimizing time you'd normally be "wasting" at an office. People then hate it, informal socialization doesn't happen, and hidden business processes that live in those informal social interactions that keep things moving don't happen.
They can happen online, the most difficult part of building trust with others to create positive cohesive relationships.