I personally would not advise taking sleeping tablets if you have a diminished respiratory drive.
Diamox (Acetazolamide) is licenced for altitude sickness and you were at quite some altitude when you became sick! Let them argue otherwise, as they have proved nothing else. You will be subject to the same altitude/pressure issues when you fly home. I have heard some aircraft companies do not alter the air-pressure adequately, something to do with fuel saving (or something) – unfortunately we (who have very limited pressure tolerance) suffer the consequences. See if the doc will prescribe just a few tablets, sufficient to see you through the journey.