Burst macro for guardin druid (owlwaving)

Hey Guys

I want a macro that turn me into [Moonkin Form] and casts Sunfire, switch back to bear form and charge with wild charge and cast then [Convoke the Spirits] is that possible?

I have done something similar before…
2 separate block actions:

/cast [noform:4] Moonkin Form
/cast [nochanneling] Sunfire

/cast [noform:1] Bear Form
/cast [nochanneling,exists] Wild charge
/cast Convoke the Spirits