I mean cigarette/vape companies have been successfully sued for this, so yea.
It seems really hard to define a firm line between making an addictive product and making a product that people really use a lot because it's well-made.
For instance, I play a lot of video games. If their developers got punished for getting me so hooked, that would be a real slap in the face to everyone involved.