Dear baqer moosavi,
Welcome to the Wefugees Community and thank you for reaching out to us.
Are you asking, if you can apply for asylum in Germany? In Germany, every asylum application is assessed individuallay and reasons for seeking asylum are checked in-depth from case to case by the co-called BAMF (Federal Office for Migration and Refugees). Therefore, it is hardly possible to give a general answer here or to dare any predictions regarding chances to be granted asylum or the refugee status. The bigger problem from my perspevtive is, that embassies are currently unfortunately not offering humanitarian visas for the purpose of asylum seeking. Asylum applications are so far only accepted if you are in Germany already. You may want to see the "Handbook Germany" website for further information (also in Farsi and Paschto).
I am sorry that I can not give you a more posititve answer. However, I will also link my dear colleague @mbeon-fardeen here.
All the best,
Meike