Can I apply for permanent residency after completing an internship in Germany?

Can I apply for permanent residency after completing an internship in Germany?