I think it could work, but not magically like it did on the Simpsons.
When I was a teenager, I would fall asleep listening to a CD, and I would often put it on 'repeat'. If I forgot about it, I found that when I'd wake up I wouldn't be able to listen to it anymore, I'd just be sick of it already. So I know I was actually 'listening' to it even though I wasn't awake.
I think the same theory would apply, you'd listen but it would probably just be passive listening.
Does that make sense?

Nevermind me if it doesn't.