How do you create wires and tubes

I was thinking it might be possible to create a bezier curve or import an svg path and extrude around it to create wires and tube shapes. Is this possible? If not, what is the best way to create these?

This is one way of doing it and rather easily especially if you have a bunch of cables.

Look for this
https://b3d.interplanety.org/en/modeling-with-curves-wires-and-pipes/

Thank you FlyingBanana and Korchy. Always helpful to learn different methods.

This was just the ticket. It isn’t tubes and wires I want to create just now but that was the best way I could think of asking the question. This was done with paths from Gimp.