Don't try to limit procrastination. You have already tried that and it didn't work. Instead, limit the time that you spend writing, but during writing time, write and do nothing else.
The limitation of your permissible writing time should feel like a real constraint. Ideally, when the time is up, you should feel strongly inclined to write 'just one more sentence'. Don't. It's best to stop mid-sentence, as this makes it easy to get going on the next day.
The duration should also feel doable. Forget about 'making up for lost time'. If your are a heavy procrastinator with strong anxiety, start with half an hour or less. Three hours should be the maximum if you schedule daily writing sessions, which I recommend. Remember to take breaks during which you move away from the desk. The 'pomodoro technique' can be useful to divide time into manageable chuncks of writing/working and rest/recovery.
Don't ever allow yourself to write once the allotted time period has expired, until the following day. You might waste scarce writing time by procrastinating once, perhaps twice, but probably not more.
This is how I finished my PhD thesis.
Regarding counseling: Consider counseling or therapy if you feel depressed, anxious, or have trouble sleeping for more than ten days in a row.