Directly? No. This is what screens are for. You will need to place a screen in front of the layers you want to flip. Then you draw the layers to the screen. This works by you telling OpenBOR a Z layer range to capture (ex. -400 to -100) and it will grab everything between.
From there, the screen can apply any graphic effect you feel like. One of those is flipping.
It's not as complicated as it sounds and there's not much code to it. By far the hardest part is figuring out the Z placement through trial and error (the actual Z position of objects and layers is calculated from lots of factors and therefore not the same as you see in text files).
The principle and code is nearly identical to making full screen zoom effects like you see in Avengers. The only difference is where you place the screen what layers you draw to it.
DC