Nope. Closest you can get is to have hotbars that are identical except for the macros you want to swap, and copy the entire hotbars back and forth.