I work mornings in the office and drive home on lunch break to wfh the rest of the day and all my best solutions pop into my head in that drive home. It's great because it's a quick break from work to get the brain percolating and then I can jump right into solving mode as soon as I get home.
Basically this, but usually the best ideas come to me during smoke breaks instead. (Still trying to kick that addiction, don't smoke, kids, I've managed to get rid of alcohol and other drugs I experimented with in the past, nicotine just won't fucking stop with the fucking urges, even when you manage to "quit" for months at a time.)