Drugs used to treat those with poor quality sleep may be effective in treating metabolic disorders, according to a recent study.