I find the converse hard to believe, why would someone who is happy at work create a side project (unless they are just a tinkerer or are scratching a personal itch)?
You just listed two reasons that arguably apply to most hackers. 90% of my career I have been happy at work, but I have always had multiple side projects going on as well.