No, you cannot get a residence permit for Ethiopia at the Embassy or Consulate of Ethiopia. You should get a long-term visa, then apply for a residence permit after your arrival in Ethiopia.