"Find look at Rotation" angle order: calc pitch before yaw

what if you temporarily stored the current rotation in a variable, find the look at, break it down into its composite values (pitch, yaw etc), restore the original angle and then use set relative rotation once using the pitch and then a second time using the yaw?

Not the way i would do it but it could work maybe