angle constrain

Yes. The transform parameters are 3 rotation angles, and 3 translations. You can set bounds for each of them independently. From Euler3DTransform docs:

The serialization of the optimizable parameters is an array of 6 elements. The first 3 represents three euler angle of rotation respectively about the X, Y and Z axis. The last 3 parameters defines the translation in each dimension.