Unbind Rotation Axis from 2D physics.

When you use a 3D asset with a 2D Collider and a 2D Rigidbody oyu can’t move the rotation of the asset because y gets pretty messy, is there a way to unbind X Y Rotation Axis in order to rotate the object without affecting the physics?

I solve this by using a empty Gameobject with all the 2D Physics Components and using the 3D asset as a child.