It would be more easy to create the sweep command which include the path of the sweep to be sketched at first.
I think it is difficult to create a kind of 3D curve in the design (sketch) environment.So it would be easy to create a spline in the the 3D form and then use the sweep command.