The law might allow it in some places but rarely used. You almost always see charges reflecting the actual perpetuators' crime, not the crimes of others.

With your logic the consumer of any illegal product is guilty of the crimes of the supplier, simply because the consumer created the demand, correct?