No, you are not permitted to apply in that case.
The Omani eVisa is not available to Diplomatic/Official Passport Holders. There is just only the ordinary passport is able to use for apply Omani eVisa.
The only requirement for your visa/residence permit to be used as a supporting document is that it should be still valid (by date) by the time you enter Oman.
Omani eVisa is created for various purposes such as tourism, recreation, sightseeing, casual visit to meet friends or relatives, short duration medical treatment or casual business visit, whereby traveling to Oman has not ever been as easy as now with this appearance.