Using "SetActorRotation" does not go past 90° on any given axis

(Didn’t let me select ver. 4.23.1, just putting that out there if anybody cares)
Using the “SetActorRotation” and “AddActorLocalRotation” to increase any given axis (in my case pitch) caps at 90° and has really weird effects on the other axis (I can attach a photo of the code or a video if needed)

Seems like known issue. You can read more here:

Have you tried to use AddLocalRotation?

Btw. does your actor have collision? If yes, you should avoid adding rotation like that and tampering with physics. Better use add torque to rotate the actor.