I've quit sugar like 10-11 times now, not completely, but got to a point where I could go basically go without sugar all day with no problem.. every time I have to requit sugar (always bcz of the holidays), it's an insane endeavor filled with brain fog, anxiety, and sometimes lack of sleep.
Moral of the story...Sugar is a drug you shouldn't mess with. Just say no to cookies.