I hear ya. Ticking boxes for the day is a recipe for anxiety.
Scheduling and extreme discipline. Allot a certain number of hours to work for the day, or a fixed slot. Are you 99% done and want the dopamine of completion? Shut down the computer.
Easier said than done. I struggle with this too