Draw on texture at runtime

Hi, is there any way to draw on to a 2D texture at runtime via blueprint? I would like to generate a displacement map that way. The only thing needed would be some kind of “Texture2DCanvas”, some 2D drawing nodes in blueprint and a way to update a “Texture2D” node in a material with the generated one.

Any hints how to achieve this, or where to look in the existing nodes?

Thanks!