If the path is only 2D, then use “Bend” on an Helix.
1: Create Helix + Path
2: Increase number of points on path (<- important. The more points the better for bend)
3: Bend Helix to path (scale if needed)
4: Add curves to ends of Helix for connection. Weld them
5: Add thickness to Helix.