Remove Moving People from Multiple 360s Taken in Same Location

Would it be possible to shoot multiple panoramas in the same location and automatically remove moving people? This is possible in photoshop through a process of image stacking using the median filter. See link below.