How about, nanobots that can be programmed to change conformation, attach to any brain receptors, and simulate any drug. You could switch from cocaine to heroin in a minute, or hippie flip by programming some to simulate MDMA and others to simulate psilocybin. You could make the high stop in seconds, or allow to go on for as along you want.