As far as you are able to prove your identity you can always be able to obtain a German Driver's License. the Duldung is not actually the problem the problem is about the prove of identity. Anyone who are able to prove thier identity and are able to Pass the exams which consists of the Written and Driving part can obtain the Driver's license. We have almost similarly question here, you can also read the answer given by
@thor carefully
https://***.wefugees.de/102292/driving-licence-with-duldung-what-about-vocational-training
Good luck and best regards
Nelly