Maybe, except you are adding the combined values to the current rotation. I think you want to SET it to the combined values or just add the event value. since you are adding to what is already there you can easily go past those numbers.
You’ll want to create a blueprint or C++ class extending APlayerCameraManager and set the clamp values. From there, open your Player controller up and set the PlayerCameraManager variable to your custom player camera manager.
I figured that something with my calculations was wrong so it was no gimbal lock. But I’m going with ReubenWards answer which works for me. Thanks for your replies though