Short answer: no.
- There’s no condition to test if PVP Talents are active.
- You could set that key up with a modifier (ctrl/shift/alt) that lets you pick which spell to cast.
- Because IBF is off the GCD you could setup a macro that casts both spells when you hit the key but you’ll be blowing IBF each time during pvp
- If you only want medallion for arenas and not wpvp/bgs you can test
[@arena1,exists]
to decide which spell.