Careful, though - if you live in an area that's been populated for a long time, that may increase your exposure to lead. Maybe get the soil tested first.
And if you live in an area that used to manufacture semiconductors (and possibly contaminated with heavy metals), it is recommended that you use a certain kind of plastic sheet between the dirt in the ground and the topsoil that you buy at a store. There are these square wooden frames made for these kind of farm plots.