That's sort of built-in already. To stay in Germany for the requisite five years, you're likely going to need a sponsored visa or some other kind of job-based visa (e.g. their freelance visa).
Note that "failed asylum seekers" does, for the most part, not mean people actually resisting deportation in any illegal/violent way, but mostly consists of people who are being granted a sort of amnesty ("Duldung") for various reasons in line with german law.
This only leaves 54k people that would actually be candidate for deportation in June 2023, which increases the deportation rate to roughly 30%. At this pace deportation for the average failed asylum seeker that is actually traget of deportation shrinks to 3 years.
* https://www.dw.com/en/germany-migrant-deportations-rise-shar....