what you describe for parents I agree but not for DNA, there are many journals or studies that explain certain types of addiction, especially drugs, for example, as you mentioned, parents who use drugs will have the potential to cause addiction to their children even in a healthy environment. there are many journals that describe the inheritance of traits in DNA, you can look for it.
In the case of gambling, I think it is interesting that the inherited nature of gambling activities carried out by its predecessors is different from the inheritance of drugs, drugs are substances that are inserted into the human body so that it causes an addictive effect and this affects the DNA chain. For inheritance gambling, inheritance gambling is still very relevant for debate because I believe that everyone is equipped with knowledge and can choose and be responsible for each choice.