Yes, some types of anemia are due to inherited or genetic defects.
Sickle cell anemia occurs most frequently in people of african, african-american, and mediterranean descent. Thalassemia
(or cooley's anemia) is found in people of mediterranean and southeast asian descent. These types of anemia are extremely common. Another inherited anemia is fanconi anemia, but this is very rare.