Yes, there is a method to line this up:
Since you need that for a Polygon (or group), the two points that would define the edge for the axis are not long in “focus” for this. I have shown it here with two Nulls, but anything that allows for snapping can be used.
Alternatively, you could look into Workplaces
With very complex objects, I have just separated all of them and then stitched them back together. After setting all polygons as orientation for the axis. Like in the image below.
Click thumbnail to see full-size image