I wonder if you're thinking of stack mode. Using stack mode on smart objects can remove people from a stack (Median makes them all go away), but the stack mode that makes them show up all at once (Minimum) will need some touching up (the result looks more like a blend mode has been applied). Instead, you could load the images and align them, but then use the Object Selection Tool to select the person on each layer and use a layer mask to isolate them. Then put their layers over the background with them removed.
Go to File > Scripts > Load Files into Stack...
In the Load Layers dialog, navigate to your images or add the files if they are already open
Select "Attempt to Automatically Align Source Images"
Use Ctrl (PC)/Command (mac OS) + J to duplicate the images
Select the original set of layers on the bottom, right-click, and Convert to Smart Object
Go to Layer > Smart Objects > Stack Mode > Median to remove the person from the background
For one of the layers above the smart object, use the Object Selection Tool to select the person
Click the Add Layer Mask icon (3rd from the left at the bottom of the Layers panel) to apply a layer mask
Repeat for each layer with the person on it
Re-order the person layers as needed in case they happen to overlap