People with opioid use disorder (OUD) can have trouble falling or staying asleep. Researchers want to know if suvorexant will help people with OUD fall asleep and stay asleep. The goal of this study is to learn about the safety of suvorexant and how well people tolerate it. Researchers also want to learn if suvorexant helps people sleep longer compared to people who take placebo. A placebo looks like the study medicine but has no actual study medicine in it.