"Use UV for mapping" on curve object in Blender 2.82
Already default Curve can be UV textured ...



... converted to Mesh - UV map is generated.






I never used it, so sorry if I misunderstood the reason you asked for.