Yes, there is a small risk of lead in backyard eggs, especially in buildings constructed before 1978. For more information, see this article.
If you live in Chicagoland and are concerned about lead levels in your soil, contact Susan Kauffman, who tipped me off regarding the lead in eggs issue. She runs a soil analysis service and offers a soil sampling service.