No, sweet chestnuts (genus Castanea) should not be confused with horse chestnuts (genus Aesculus), which are not related to the sweet chestnut, but are named for producing nuts of similar appearance, but which are mildly poisonous to humans.
See: http://tree-species.blogspot.com/2009/03/edible-chestnuts-vs-horse-chestnuts.html