Yes. Public Greek universities accept foreign students.
Find out more here: https://helpdesk.studyingreece.edu.gr
Find your preferred master courses on Master’s searching page.
Then, contact the equivalent secretary in order to see the application deadlines and required documents.
In order to obtain your student visa, you first need an official acceptance letter from your chosen University in Greece, which must be an institution certified by the Greek Ministry of Education.
You can find more details at the following link: https://studyingreece.edu.gr/visa/