I do it when kids are in bed and I have enough energy to pound my head against my desk (i reard somewhere it helps let the inspiration out, but it requires effort and tylenol).
Typically I go between 30 minutes to 3 hours depending on how ambitious I feel. But I take a couple weeks’ break every now and then when life needs attending to (a.k.a life-ing)