Yes, however the one you change the axis of now becomes the “normal” for the other one - you will only have the unskew command on the one that you didn’t change the axis for (although they both will show the changed axis)
→ “unskew” →
The original component is now skewed - the only way to restore it is to undo or re-insert it. (You can really screw it up if you now change the axis on that one and un-skew the other one…)