I don’t completely understand what you want, but it might be a timeline and a lerp node.
Set the timeline flaot value going from 0 to 1 over your specified length, wire the float into the alpha node in a lerp node, and it will lerp between rotations, positions, scale, etc.