You have gangs because drugs are illegal and in high demand and are therefore very profitable. Take away the excess profits by decriminalizing drugs and the gangs have no incentive to deal in drugs. What we have today is not much different than Prohibition.