To set a rotation point could be helpful.
Select the two vertices - get centre point, and rotate the whole object around it...
But we could only rotate around x/y/z axis.
Meaning, I would still need to rotate the part n° around the x-axis, and then n° around the z-axis, if the edge is not exactly on the x/y/z-Axis.
But better than nothing