Yes!! It's incredible when I go on holiday and intentionally put myself in really boring situations for like 2+ weeks, I start having random ideas. This is absolutely true.
The cynical in me even wonders if this isn't by design in capitalism. If you're really busy all the time you won't be having ideas and be a better worker.