Yes, almost always.
People have this stigma that photoshop editing isnt 'pure', but most of what you do in 'shop can (and has for 150+ years) be done within the darkroom as well, its just not as accessible.
Ansel Adams, probably one of the best landscape photographers ever, was a master of darkroom editing, and considered the editing of the print to be half the work.