Many well-known authors (Stephen King, etc) build routines for them to write.
https://www.goodreads.com/book/show/254799.The_Creative_Habi... https://jamesclear.com/daily-routines-writers