Absolutely not. My wife could apply for German permanent residency as well as now German citizenship from within Germany. She has been living in Germany for 10 years now and at no point in the process did she have to go through a German consulate (she is a US citizen).