if the university accepts PTE, then yes, you can apply for visa with pte score. I have applied with pte scores as my university accepts PTE and I have received German student visa. My university provided with the visa support letter stating I have met the English proficiency requirements. This is for 2024 sept intake.