It's definitely possible to learn the needed amount of german to enter university in 6 months but you will have to study hard. Speaking from my experience, I got to A2 level in my home country and then spent 5 months learning german in Berlin and finally passed the DAF and DSH exams (you have to...