I would say they are comparable in that they are both pleasure-seeking behaviors that are fine in moderation, but carry a significant risk of turning addictive and self destructive.
There are pros and cons to both. Both provide outlets for creativity and socialization. But I've lost several childhood friends to drug overdoses, and spending too much time on the phone can lead to withdrawal and depression.
I feel like you are asking me pick one or the other as the superior pastime, but I would choose neither. IMO kids are better off playing sports, playing in a band (without the drugs), drama club, etc. Those are structured activities - but given enough time and space people will start to form relationships too.