I do it all the time.
After 28 years of working midnights and sleeping like a baby during the day, I'm now living like a normal person but often can't sleep at night. I don't take it every night but on occasions when I can't sleep, it works great.
If I take it and wait an hour or two...