Dear @mrzalata,
Welcome to the Wefugees Community and thank you for reaching out to us.
My colleague gave some information on a very similar question here - he also explained that it is generally possible if your qualification in recognised as comparable with a German qualification.
However, I would advise you to consult the immigration office (Ausländerbehörde) BEFORE you quit your "Ausbildung" or start the new job in order to avoid complications.
In any case, please also don't hesitate to get back to us with any further questions.
Good luck and all the best,
Meike