If you don't understand what I mean, I can explain it again.
For videos!
I hope I have not misunderstood anything, but with Photoshop it should be relatively easy to do
Gimp is free and can also do photo editing, how to do it exactly, look for a tutorial.
Look for programs for deepfake
Photoshop would be your software (I think) :)
For videos?
For this you need two programs.
A graphics program to remove the face from a picture and a video editing program to insert the picture in the video.