Dear @Jiji,
Welcome to the Wefugees Community and thank you for reaching out to us.
Unfortunately, I am not an expert on this topic but I tried to make some research. You are currently holding a residence permit according to section 16f of the German Residence Act for doing a language course, right? For an "Ausbildung" (vocational training/apprenticeship) you need to apply for a residence permit according to section 16a. According to this table (by the GGUA in Münster) a change between these residence permits should be possible (if you meet the requirements of the 16a) after you successfully finished your language course. However, the final decision is always at the discretion of the immigration office (Ausländerbehörde).
I would recommend you to contact the immigration office directly in order to get some reliable information.
Do you agree dear @mbeon-Christine or @mbeon-fardeen?
I hope this helps and please don't hesitate to get back to us with any further questions.
All the best,
Meike