Is there a way to take a screenshot in-game, and then use it in a widget?

I’m trying to use a screenshot of the game in a widget, but I can’t seem to find a way how. I can take an in-game screenshot using Console Commands in the Blueprint Editor “shot” and “highresshot”, but I can’t seem to use the image without importing it as an image from the actual computer folder. I want the widget to display the screenshot whilst the game is still running. Is it actually possible to take an in-game screenshot and then display it in a widget?

I am looking for the exact same thing, did you ever get this figured out?