Why would you want to do this? It's more accurate (finer steps) and you have the Undo function when doing it in PS. Remember: whatever the camera does during in camera processing cannot be undone. And since JPG is a lossy compression, every single processing step leads to further loss of information in the picture.