Sounds like a great habit. There are some studies that indicate problem solving ability is highest when you're "groggy" so maybe skip the coffee. Many authors have developed the same habit during their early days when they had a day job. Mark Cuban said, "You're only at your best once a day."