While sugar does have addictive qualities, likening it to drugs is exaggerative.
Sugar is a chemical formation and would affect the body like any form of ingestible chemicals. Similarly, salt can cause the body to crave water or even iron which helps the red blood cells in your body.
With sugar, it's a case of self-control and restraint. Too much of anything is bad for you. Too much salt causes a rise in blood pressure and in serve cases to lead hypernatraemia. Too much iron can cause iron toxicity and cause damage to the gastrointestinal system. It's not just sugar that can have adverse side effects. While sugar can cause severe craving, there are healthier alternatives, such as fruit, that can be eaten instead.
Also, much of today's current food culture is put towards dieting and healthy eating, which suggests a healthier trend in society.