That can help, or just the classic shower insight, but for me I often get even bigger dividends by stepping way away from the computer.
I've had absolute avalanches of new insights when I've been away from any sort of computer for days. It feels like the process of loading more "problem" into the working buffer interrupts or even resets these background processes to some degree.