Government urged to end harmful imprisonment