I would say yes, but not the way you think.
It is pretty well accepted that mental illnesses can be passed down genetically. While some would say that the addiction itself is a mental illness, I am referring to the basic illnesses like depression or anxiety. People struggling with these illnesses often find great relief in alcohol and drugs, which might be beneficial at first, can eventually lead to unhealthy addictions.