Cannabis use among patients with cancer helped relieve pain and improve sleep quality as well as subjective cognitive function, a new study suggests.