I love this comic. I have seen it online several times. I am not sure of the original source or I'd give credit. Suffice to say, I appreciate whoever came up with this.
I don't know that there is a single best solution for writing a dissertation. We all have our own lives, obligations, styles, preferences, etc. Regardless, I have found it helpful to read what others have suggested. I've shared some of those things via this blog already.
Here is another piece to consider: https://chroniclevitae.com/news/370-the-no-fail-secret-to-writing-a-dissertation
Good luck and keep writing.