Yes, it is moral for health care professionals to participate in medical torture if the practice saves thousands of lives due to the intelligence gathered from the technique. The people being tortured are not good people, I assume that they are enemies of the United States. If health care professionals are willing to help the country save lives and prevent terrorist attacks they should be applauded for their love of country.
While scientific research conducted by harming sentient creatures is always on shaky moral ground, it seems extreme to call such practices 'medical torture' considering current capabilities in pain control. However, weighing a hundred lives against thousands - there is no comparison. Non-lethal research is absolutely warranted when it could save thousands of lives.
It is not morally acceptable for health care professionals to participate in a medical torture even if that practice will save thousands of lives. They can get someone else to do it. We have plenty of army, cops, generals and so on who can do it. We shouldn't make our doctors do it.
While someone might argue that it's okay to torture a few people if it benefits the public interest in the long run, this sounds incredibly inhumane. We can't use humans as guinea pigs, and I don't think too many people would be willing to agree to have their bodies exploited in this way. This is one reason why, as sad as it may be, scientific research uses animals for testing before moving on to human subjects.
I do not believe it is moral for health care professionals to participate in medical torture if the practice saves thousands of lives due to the intelligence gathered from the technique. It is never right to torture a person, no matter how much "intelligence" is gathered. Would you like to be that person tortured?