Yes, absolutely!
They deserve incarceration as punishment but psychological treatment should not be viewed as a luxury as it is ultimately better for society. The deprivation of their freedoms for extended periods of time is enough. Depending on the severity of the crime, the offender's sentence should match.