Yes of course! You can start the whole process if you are legally present in the country.
Ask A Question | Learn more about Greece
How can I purchase property in Greece while on a tourist visa?
If this is possible, can I then start an application process for the golden visa while still in the country?