I agree with Bill, it's just mechanical. You would flip the stator frame end-for-end but put the endbells back in their original positions (now flipped with respect to the stator).
In theory you could change the airgap during such evolution if there were offset bores on both the stator and endbell at one end that compensated for each other in the original configuration. And unfortunately it's very difficult to check airgap in small motors (maybe with odp you have a bit of access but none with TEFC). It's also remotely possible that original lack of perpendicularity between shaft axis and endbell flange on the stator could have been compensated for by opposite lack of perpendicularity between endbell flange and bearing seat on the endbell... that's quite a stretch but could induce a rotor bow and 1x vibration (btw any change in shaft extension position with respect to mounting holes will become irrelevant once the machine is aligned to the driven equipment). I guess in theory there's nothing that requires the OEM to set it up so that axial positioning would be unchanged during such swap, but it seems like every OEM builds their motors symmetrically so this can be done without any effect on axial position of shaft extension.
With all that said, I can remember about 5 times we have swapped endbells to correct terminal box location at our plant for small NEMA frame motors, and we have never encountered any problem with interchangeability of the endbells, or axial positioning, difficulty of alignment, or unusual vibration afterwards.
Also of course if rotation was correct in original orientation then a lead swap is required for new orientation. There may be auxiliary junction boxes for space heater or rtd to think about. Since it's a congested area make sure any air ports (side or end for odp, end for TEFC) are not blocked by whatever is next to the motor.
=====================================
(2B)+(2B)' ?