Is it possible to paint landscape layers from code or blueprints?

There’s no easy way to do that, without modifying engine code.