Lack of sleep can cause existing pain to linger, opening up the door for opioid use and abuse, a new study says.