So, what you’re saying is, you have a stable shot of someone walking, and you want to use a shot of the background from the same angle as base for what gets removed from the walking shot, or, greenscreen but keying out background instead of a color?
I’m no expert, but I think this falls under the category of “things that obviously really should exist but don’t and it’s hard to understand why they don’t”, which sadly, many special effects fall under.
If I understand your problem correctly, I think your best bet is either hand-rotoscoping the person out of the shot, or just using a greenscreen.