Runtime landscape edit

I came up with this idea when I found the source code of the UE4 landscape tools. Is it possible to create a reference of some sort of landscape editing class and implement runtime landscape editing?
There’re a bunch c++ files that can help, but I think the best one might be LandscapeEdMode.cpp/h.