A "simple" macro request?

I am looking for a macro that is fairly simple (in my mind)
I want to spam a button non stop (Logitech / Razer / Autoclick)

Cast Phoenix’s Flames when available
on Heating up, use Fireblast, if Fireblast isnt available, check if Phoenix is available and cast that.
Spam fireball, use Combustion on when available, Flame On when no charges of Fire Blast are available
On Hotstreak proc stop cast and cast Pyro, Rune of Power when available.

Talents: 1,2,2,2,1,2,1

Is this possible? It would result in a 1 button spam for a simple rotation, I think…