I assume "heroin" is a narcotic. But could I also use it as a metaphor?

Native speaker’s answer
Rebecca
You can use it as a metaphor or compare it to something else! It implies that something is extremely addictive or makes you feel really good. Ex: I sometimes think that coffee is like heroin. Ex: This song is like heroin. It always makes me feel like I'm on a high. => feel good