Thanks for reaching out to the wefugees-community!
As an asylumseeker you are allowed to study in Germany. Depending on your subject there might even be certain prgrammes specifically designed for refugees.
If you speak some German this summary on the topic might be useful for you https://www.studentenwerke.de/sites/default/files/hochschulzugang_studium_fluechtlinge_einseitig.pdf. If not there is plenty of good information on the topic in English as well.
I hope my answers were helpful and I would be very happy if you would contact me again with further questions. I'm a consultant with mbeon and I‘ll be glad to help you over a longer period of time. Mbeon is an online advice for migrants via the mbeon app, which you can install on your smartphone for free. Download it from App Store or Google Play Store. You can find me in the mbeon app and get confidential individual advice in a secure virtual space without other people reading our conversation. Further information: www.mbeon.de.