Paint on a path in photoshop

Hi is there a way to make a path in photoshop then restrict your brushing to that path, similar to when you type on a path? I know you can stroke the path but i just want to do the brushing manually to have more control

Actually I don’t think you can. What might work for you is to create the path with a stroked color and then, on another layer, use it as a guide for a free handed brush stroke. That way you can get the positioning and the stroke variation.

no there you are selecting the stroke path option which automatically brushes the path. I want to paint on the path myself, to achieve for example different intensities at exactly the points where I want, this is something i cannot do with the stroke path option

Do you mean something like this?