There have been many studies of remote and office working which compared productivity, motivation, and output. And you can expect a lot more to be produced in the near future, as a quick search for home vs office working already returns 4,210,000,000 results. Without a definitive answer.