Eh, it depends. I find that there is a benefit in highly collaborative projects or in an environment where training is a component.
For instance, a lot of data showed that junior staff productivity tanked as they didn't have the mentoring opportunities that they would have had in a full remote environment.