The only area that learning how to deal with sleep deprivation would be a benefit is surgery and critical care areas (ICUs). But then again, if you could schedule things better and get more doctors in, maybe these doctors don't have to learn how to function on 5 hours of sleep.
I think you're right to the extent that the current medical service system requires doctors to learn to sleep less and less while functioning on an acceptable level (note that I didn't say satisfactory or even exceptional). But I think that's begging the question. Shouldn't we be able to change the current system and allow doctors to focus on building skills/knowledge, not the ability to function without sleep.
tl;dr: sleep deprivation is not a necessary part of being a doctor if we change the system, so saying that doctors must learn how to deal with sleep deprivation is a circular argument.