Paint the landscape at runtime

I wonder how viable it could be nowadays, having a multi layer landscape material and paint an arbitrary location and radius with any of them.
I know the landscape module is one of the biggest mess in the engine but some people have managed to even modify the geometry.

Anyway, I’m looking for tips or indications about where to start.
Thanks in advance.

Anyone?