Yes, in many cases it can be. Not all drugs sold in retail US and Canadian pharmacies are made in the USA or Canada. Many generics that American and Canadian retail pharmacies sell may be sourced from India, the European Union and other countries as well. Even for many brand name drugs, while the manufacturer of the drug may be an American or European company, for a variety of reasons, the drug itself may be manufactured outside of the USA or Europe.
Please note, even though the drug may be manufactured outside of North America, it will contain the exact same active ingredients, dosage, intended use, risks, safety and strength as those drugs made locally.