check out this thread where it was done as a proof of concept. Meshroom is a great free tool for the job and as of 2019 supports 360 cameras. Unfortunately his discovery was that the 360 camera produces so much data you DON'T want such as empty walls/ceiling or the photographer it ends up not being the best way to capture the scene with much detail.