Is it possible to have a macro check a resource and have and or functionality?

Basically what I am asking is if it is possible for something like

#showtooltip [combat] Intercept; Charge

if Rage=20+ /cast Intercept and end the macro, if Rage=20- continue macro.

/cast [combat] Berserker Stance; Battle Stance
/cast [combat] Intercept; Charge

I believe that is deliberately forbidden, because back in the day it would have been used by healers to automatically “downrank” a spell when low on mana and spamming a button.

I see thank you. Guess I will just have to bind a normal intercept then.

Pins are your friend.