Generally: Yes.
However keep in mind that Unreal Engine is mainly… no is only a tool for gameplay (walking or some minor physics stuff, interaction, etc) and rendering. It will not be able to generate a model from pictures by itself. The quality of each scene highly depends on the assets and quality of materials which are quite a lot of work themselfs.
If you want to generate those from pictures you will not get a lot of realism. The quality of the photos will limit you, the amount and your general skills in combining those. The current technology to generate models is using especially for this purpose created videos which scans for exactly the right contrasts and the textures are still poor. So don’t expect anything near the demos you saw from a project like this and the biggest issue is your “photo to model” step. This makes or breaks the quality.
In general Unreal is very much capable of working as render engine. But don’t treat it as a lot more and keep in mind that because of the global illumination aspect you will have to do more than just textures which is another breakpoint… it’ll look better if done properly but generated it’s another issue to look out for.