Dear @Khanskashmir,
Thank you for reaching out to the Wefugees Community!
In general, you are allowed to study in Germany in your pending asylum case.
Our expert Alla gave some helpful information about studying as an asylum seeker in this thread.
You may want to have a **** at it. However, also feel free to get back to us with any further questions.
All the best,
Meike