This video shows a basic approach for keying a real time video feed (which also works with video files or still images) in Unreal Engine to place it onto geometry in a 3D scene.
https://dev.epicgames.com/community/learning/tutorials/Vn9/basic-keying-realtime-video-onto-geometry