Yes, there are some similarities between gambling addiction and trading addiction. Both of them are about profits-losses, people trying to recover losses, and people become addicted because they do it in an excessive way. But this may happen because those people are lack of understanding about trading. So, they assume trading can treat as gambling. Meanwhile people who understand trading, they won't do it same as gambling. So, they won't be addicted as in gambling.
Trading can be addictive, but that is not because it has lot in common with gambling. As a few member have already pointed out, just about anything can become addictive. It's not limited to gambling, and trading, or other money related activities.
Someone who's addicted to trading isn't necessarily lacking understanding either. Even an expert can get hooked once they slowly lose control over their trading, feel the urge to open positions and chase that rush every time the market gets volatile...
It's a self control problem, not just a matter of knowledge or experience.