2D old menu heavy C++ project port. is this approach possible?

I have never used UE before.
I have a large, old C++/DirectX project. It contains many complex 2d menu screens with some seperate 3D. Thnk something like football manager. All the GUI code basicaly sits over a ‘surface’ class which is a 2D sprite (or old DX surface). So tables, list boxes, buttons, spinners etc. all use this surface class in order to work.

I was hoping to retain all my menu code and emulate this surface class somehow in UE. This way all my higher level C++ code can remain untouched and port straight accross. I know UE is built around the editor and I’m not sure if this approach is possible at all or I should just find another engine/framework.

Any opinions if this could work and how UI should look at going about the task?

I think hud class is closest.

However there may be serious troubleswith drawing textures in realtime in unreal.