I'm doing a less intense version of this now. Taking breaks (sometimes whole-day breaks) helps prevent burnout. Nontechnical breaks are especially good: house chores, exercise, meals. (I actually let the dishes pile up a bit so I can wash them as a break and come back feeling productive.)