No, to apply for a new visa, you will need to leave the country. You cannot apply for an e-visa while in Turkey. However, if you meet the criteria for a residence permit, you can apply for that through the Provincial Directorate
of Migration Management.