The answer to this question is not straightforward. If you are traveling with an RLWL ticket, you can travel in sleeper class on the train. However, if you are traveling with an RACWL ticket, then you cannot travel in sleeper class.