You can use a Render Target. Make a nicely lit prison cell and put your character in there with a camera. The resulting camera projection is turned into a texture and can be then displayed in UMG via material. This can be done in real time. It’s not always pretty and not particularly performant.
Here’s an older example you might be able to adapt to your needs.