Theoretically how would you go about bending a Tile map?

I recently had a brilliant idea about 2d platforming on shapes. i took the idea to some friends and we were talking about being able to bend the tilemaps to fit shapes like they do in Mario Odessey. After a little bit of discussion though we had no idea how you could possibly complete this in UE4.

is it possible to turn a tilemap into a material and wrap it around certain shapes or would we have to make something custom and not use tilemaps at all?
just the idea of it sent our heads spinning. so I’m posing the question to the forums.
how would you go about doing something like what Mario Odessey did?

After doing a bit of digging I think I have found my answer.

I think the easiest way in UE4 is to basically capture the TileMap as a flat (using screen capture 2d) and then using render target project it on to the shape.

if anyone else can think of any other way’s I’d be happy to hear them