Yes, it is harmful. Eating that much sugar will cause your pancreas to work overtime. Then you are headed toward having diabetes.
The thirst is an indication your body is not able to handle that much sugar and drinking a lot of water is the body's way of diluting sugar in the bloodstream, at least trying to.
Have you had your glucose level checked after eating sugar?
You need to be checked for diabetes.