Dear @Moses90,
Welcome back to the Wefugees Community and thank you for reaching out to us again.
In general, completing an Ausbildung, especially in the field of "Pflege" (Nursing), is a very good idea. Qualified staff is always wanted and this might open new opportunities for you and your family in future. However, for an Ausbildung and the "Hauptschule" degree, which you apparently have to complete before, there is also a certain German language level required. This should not be underestimated. It is basically not possible to give you advice regarding your passport or any danger of deportation without knowing your background and the circumstances. You should definitely consult your lawyer on this. He/she will know your and your family's situation best.
I will link our dear @mbeon-Christine and @mbeon-fardeen here, maybe they can add some information. However, I definitely recommend you to address those questions to your lawyer as well.
In any case, please also don't hesitate to get back to us.
All the best,
Meike