Hello Pan123,
thank you for your question.
I would do some research and get back to you soon . However, one requirement for a success in gaining German Citizenship is that you hold the permanent residence in Germany and some other requirements.
But I will getback to you soon.
Best regards,
Nilab