Yes. Ghengis Khan too, for that matter. They are horrible human beings, and "rehabilitation" is not the same as "releasing into society." With individuals who committed crimes of the magnitude of Hitler (he would have died in prison not too many years after capture anyway given his inflictions), it's unlikely any court would rule to release the individual.
So what do you focus on? Well, you don't do it
just for Hitler, but you have an environment that encourages rehabilitation. Education, so that perhaps one day he could understand the truth behind what he did. A humane environment, so that we focus on maintaining prisoner sanity and safety, to result in less prisoner on prison violence, and less escape attempts. More importantly still, it results in a far safer environment for prison guards as well.
And statistics back this up,
prisons with rehabilitative environments are beneficial across the board, including to the community. On just the back of meaningful education alone, this study showed that criminals were 43% less likely to commit a new crime once leaving. It also showed doing such things actually REDUCES the cost of housing inmates, not increases.
Study after study shows the same thing: less repeat criminals, less violence to other inmates, a decrease in common mental disabilities (and thus less cost in treating those prisoners). Reintegration into society for those deemed safe enough are helped immeasurably by such a rehabilitative prison stance. And that in turn helps society at large, who can now live alongside people who will contribute to paying their taxes and being good people.
The alternative is simply revenge for revenge's sake. It is not logical, and it helps only to serve our baser instincts. And I understand the desire. God, do I ever. But understand that it does not help anyone to simply behave off the back of sheer emotion.