No. Prison in itself was never designed or implemented to change people. it is a punishment and a deterrent. There is much organised crime in Prison, with prisoners forming gangs and groups which either work with complicity from others outside, or also can work to intimidate and control weaker other prisoners inside.
I used to work with a woman's prison in Italy, in a place called Caserta, near Naples. I used to visit inmates and offer counselling and support. So the additional services voluntarily supplied to prisons may help. But prison in itself is no help. In fact, in my opinion, it can make things worse.
I hope my post is acceptable.
With metta.