i find after long enough i just pass out from boredom when i cant sleep, which is near always. But then the planets need to be inline for me to actually fall asleep, or cough syrup or reefer.
Music keeps me awake

as for headphones whenever i set up my player next to my bed i just turn the sound really low so you can only hear it and if anyone is next to you they can only hear faint sounds.