
Quoting
Mr. Knowitall
Rehab facilities have rules about intoxicants, including caffeine and energy drinks, and also have rules about medications not approved by their own doctors -- because without those rules, many clients will engage in behaviors that are disruptive to rehab or use substances at levels that interfere with recovery. If you want to know what accommodation a rehab facility will offer for a medical condition unrelated to your addiction, you need to clarify the policy before you go to rehab. You may find a rehab facility that is willing to properly and carefully administer an appropriate medication for narcolepsy, but don't expect to find one that allows you to control your own medications or to self-medicate.
If you do not do your research in advance, you should not be surprised to learn that the facility is not prepared to accommodate your desire to bring in your own medications or to self-medicate, nor should you expect them to simply take you at your word that you have a medical condition and "need" large doses of stimulants, whether or not they're prescribed by an outside doctor.
If you're repeatedly breaking the rules of the rehab program, eventually you should expect to be asked to leave.
You can't undergo a sleep study without your consent. You're hooked up to numerous sensors and an EEG, for goodness sake. That doesn't happen without your cooperation.