Texture paint landscape which already has a material applied

I’m wondering is it possible to texture paint on a terrain that already has a materials applied to it based on height. I want to add more detail in certain areas with some more materaisl, is this possible

Apologies if I’m not making any sense, hope you all understand

A picture of what you want to achieve would help.

this would explain better what I’m trying to achieve https://answers.unrealengine.com/questions/47304/landscape-splat-vs-paint-can-we-bring-em-together.html

Then follow this?