I think you yourself know the answer. A good habit in no way can compensate a bad habit. Eating too much of candies is bad both for your teeth and health.
My suggestion is grow up, keep yourself busy and don't become addicted to candies or any other bad habit.
Bye Take Care
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.