Technically, you can. However, I do not recommend it. First, it may carry viruses, diseases or parasites that could potentially contaminate your soil. (No, they won't make you sick if you cook and eat them). Additionally, it's likely that it has been imported and won't be suitable for your climate, especially if you live in a cold climate. That being said, you could try growing locally grown garlic purchased from a farm stand or farmer's market in your area!