Make a 3D tube curve that is flatter/ovalized along it's tangent
You can adjust the tilt of each point to 'twist' the flat extrusion of the curve. The tilt property is visible in the Transform panel of the properties sidebar N or you can use &#9096; CtrlT within the 3DView