Whilst not exactly what you’re after, I’d suggest exploring the Deco brush tool.
Create a texture which has a horizontal white stripe with black top and bottom borders.
Turn Mouse Smooth up a few notches in the Stroke palette.
Use the Deco brush, turn Zadd on, select the square alpha and your new texture, draw a curve.
Press Make polymesh 3D in the tool palette.
Select the new tool and turn up it’s subdiv to about 4 or 5
Select the texture you made and mask the tool by texture intensity
Hide the masked points and make a new polygroup.
Unmask, and store of morph target.
Selectively show the central strip polygroup and apply the inflate deformation to displace it upwards.
Create a difference mesh.
The generated tool is a smooth 3D mesh that conforms with your original stroke.
Note too that strokes may be recorded and recalled.