For vaccination as a foreigner, you need a temporary AMKA (social security) and it's made just for vaccination, you can't use it for other medical services, find more from here: https://emvolio.gov.gr/en/pamka
Without that number no- one will vaccinate you just walking into the doctor's door.