You can joke about that, but it happens. I've had a particularly good few months, and as a result I find myself getting less done than last year, when I was frequently miserable. In that last two months, I've done maybe one really neat piece of work, and that was immediately after a bad weekend.
I'm not exactly complaining about it, but a part of me wants to throw myself into an upsetting situation just so I'll get back to obsessing over my work.
I'm the same way. My best work has been happened on some of the worst days of my life. I think it's an "Everything sucks so I have to make something that doesn't" sort of thing.