It kind of already is? You can't toggle in level, but you can right click on individual upgrades to downgrade them and refund the green triangles spent.