I find this to be pretty helpful as long as the resulting naps are pretty short - especially if I'm stressing out about work. I usually wake up with a much better understanding of whatever problem I'm dealing with. Debugging goes quickly, and I find it easy to reason about systems I was completely confused by an hour or two before.