Brush along path?

It works the same for sculpt, select the brush you want to use and change the type of stroke to curve.