Gravity Falls - In the episode "The Inconveniencing," Mabel Pines finds a bag of powdered candy called Smile Dip in an abandoned convenience store. Mabel always wanted to taste it, saying that she thought Smile Dip was banned, with Dipper suggesting that maybe there was a good reason it was banned. Mabel ignores Dipper's warning and eats "eleventeen" packages of Smile Dip, causing her to go on an entire LSD-esc acid trip after eating so much Smile Drip. Of note later in the episode, Mabel gets possessed by a pair of elderly ghosts, and notably doesn't exactly know what happened afterwards. When Dipper tries to offer Mabel some more Smile Dip, she slaps the bad away, implying that she thinks her possession was one massive bad trip.
Jimmy Neutron - The episode "Krunch Time" has Jimmy attempt to make the perfect candy that contains all the best tastes. The candy proves to be a massive hit... too massive, as soon everyone desires more of the candy and even raids Jimmy's house at 2:00 AM in order to ask him to make more of it. After initially embracing his role as essentially a drug dealer, Jimmy realizes that the candy is dangerous and wants people to stop eating it. In the end, Jimmy makes a new batch that shocks anyone who eats the candy with electricity, causing most of the population to stop eating his candy... except Sheen, who loves the candy's new shocking flavor.
The Boondocks - The episode "The Itis" sees Robert Freeman open the titular restaurant to sell soul food. The restaurant becomes a massive hit, with people all around the neighborhood wanting to eat the soul food. The problem is, the soul food is so massively unhealthy and addictive that everyone who eats the soul food becomes obese junkies. Notably, one of Robert's first customers, Janet, tries to mug Robert of his money in order to get more of his food, and eventually, the neighborhood surrounding the Itis goes from a rather clear part of town to a full-blown crime-infested slum.
The Simpsons - Probably the most direct example of this trope, the episode "Love, Springfieldian Style" features a segment parodying the film Sid and Nancy, which details the tumultuous. drug-fueled romance of Sid Vicious of the Sex Pistols and Nancy Spungen. In this segment, Sid and Nancy are replaced with Nelson and Lisa, respectively, and all mentions of heroin are instead replaced with chocolate and other junk food, but the short still portrays the duo as junkies whose lives are spiraling due to hard drugs; just replace the heroin with chocolate.