Yes. First, you redefine the Z of your part via the > Reference Geometry Function > Coordinate System. Then, you reorient the part via Move Body, to make the 3 axes of the body's coordinate system coincide with that of the document (the one in the bottom left corner of the viewport). Finally, you export.
You don't need to move the room. Once you have defined the new coordinate system, you save it in IFC. When registering, you go to options and at the very bottom you choose your new coordinate system in "Output coordinate system". FYI I have SW2023, not sure it will work with previous versions.
It took the 2025 version to do like the others. @OBI_WAN you who come from the future (V2323) you could have told us about this incredible improvement!