Yes, it’s possible. You need to ”resample” your curve and give it a number of points then go to ”edit points” and edit the XYZ of those points. This gives you the option to rotate a curve in 3D. But you need to have the values of the shape you wan if you want accuracy.
If you are talking about rotation in movement, then you have to give it as a message.