yes, but i've figured out it's not a moment of When in time, but What in my brain.
basically, the less tasks/obligations i have to deal with, the more space i have mentally to write. that usually happens late at night or early in the mornings, so i just run with it. i'm also a casual writer so these random spurts of inspiration don't bother me too much.
i will give one tip if you can: get something on your phone/a notebook so you don't have to rush and open your laptop just to type those ideas down. since i put my drafts in googledocs, it's been really easy to download the app and just open that up before bed when i get inspired. sometimes it's just scribbling a few key words, or plot points i want to add in later for foreshadowing/clues/whatever, but it's reallllly helpful. i find the less steps it takes for me to get to the doc, the better i can jot down ideas before they fly away.
on the other hand, i know typing on the phone screen can be a pain, but it's also a kind of training as well: it forces you to choose your words wisely and type what matters in that small, confined space, and it's a different medium/visual to let you view your writing in a new light. one of my favorite fanfic authors has actually published entire works she calls "phonefics" written strictly from her phone because she spends so much time commuting between home and work to take her laptop along. her experiences are that her prose has gotten tighter and more straightforward as a result, saving her from the usual rambling sentences authors like to lose themselves in at times *cough* guilty as charged.
cheers~