IME, the factors that drive 'things moving slowly' are more likely to be company culture and management structure / ethos than the proximity of workers to each other. I worked for a fully-remote company during the pandemic, led by highly-motivated and talented engineers, and the pace was higher than in any office I've ever worked.
I've only seen some articles and no solid research but every indicator is WFH is just as if not more productive than in person work.
If you think about it, it makes a certain amount of sense, workers have more hours in the day due to no wasted transport time, and can do work ad-hoc when ideas strike even outside regular buisness hours. Also meetings are less disruptive, you don't have to get up to go to a specific room and wait for everyone to show up, you open the link and can keep doing minor tasks while you wait or evwn during the meeting if it's not that critical for you.
Really working in an office has a lot of wasted time you can imagine lessening or outright disapearing when done remote.
My mega corp did a lot of research using our pervasive spyware and came to the conclusion that remote work improved productivity by approximately 15%. I think generally velocity though is driven more by decision making processes and culture more than where chairs are being warmed.