If you check evisa website it’s clearly mentioned that you need to be in the country where you apply during the whole application process. This can include additional documents or interview. If you get screwed you will thank the people saying it’s fine !
More seriously I saw conflicting information, usually one say that you have to do it in person the first time but someone tried online the first time and they said it was ok