I think it works, but I can't really do it because I sleep on my side and I don't want to crush my headphones
Check out "headband headphones," designed so you can sleep while listening without discomfort. :)
Austin Shearmen