Officially, there is no maximum age limit to do an Ausbildung in Germany. But, in maximum cases, German students do their duale Ausbildung from ages 16-25. However, some professions might have an age barrier, such as nursing. So you have to talk with your employer (Arbeitgeber) about your age. And they will let you know the details.