Hello again @Zeeshan,
thank you for sharing your question with us.
A change is legally possible. As soon as you get a training contract from an enterprise (for professions which are taught in the so called "Dual system" - in company and school) or a vocational training school (for some professions that are ,taught only at school you can apply for a visa according to § 16 a sentence 2 Residence Act to do an apprenticeship.
However, at least two cirsumstances must be observed:
1. You shouldn't put at risk your residence permit you - as I suppose after reading your description of your current situation - were issued in accordance with Section 16(b) AufenthG (Residence Act).
This implies taking up your studies and joining the lectures regularly until you are issued the residence permit for vocational training and improving your German at least to the B1 level in the meantime.
2. Language requirements for vocational training: A professional training in a school (like nursing, chemical-technical assistant and the like) requires at least a B2 level at the beginning. With a B1 level you could only start an apprenticeship where no language certificate is required, e.g in the handicraft range (cooking, bakery, piping construction, in some federal states also nursing assistance). Nevertheless, even B1 won't suffice to pass the exams at school. In sum: If you firmly intend to do an apprenticeship, try to get your German on a healthy footing.
Here you can find further information about finding an apprenticeship: https://blog.ausbildung.de/apprenticeship-in-germany/.
If any further question arise, please come back to us. We'll be glad to give you further guidance.
I hope my answers were useful for you and I'll be very pleased if you contact me again with further questions. I'm a member of the mbeon-staff and I‘ll be glad to guide over a longer period of time. mbeon is an online advisory service for migrants via the mbeon-app, which you can download on your smartphone for free. You'll find me in the mbeon-app under my name „München, Frau Müller“ and get confidential one-to-one advice in a safe virtual room where nobody can read messages. For further information please visit www.mbeon.de.
Download for Android: https://play.google.com/store/apps/details?id=de.zone35.mbeon
Download for iOS: https://apps.apple.com/de/app/mbeon-messengerberatung/id1408795643