Death penalty is immoral in all cases. The discussion ends right there.
Now, that said, I also think keeping criminals housed and fed for free on the backs of tax payers is immoral. Furthermore, if the goal of criminal justice is restitution, simply jailing criminals does little for the victims.
Forced labor for a salary, and sending that salary or most of it after living expenses (in jail) to the victim as restitution sounds like a better option overall.