No, you are not permitted to apply in that case.
The Kenyan eVisa is not available to Diplomatic/Official Passport Holders. There is just only the ordinary passport is able to apply for Kenyan eVisa
For any assistance, please call 24h professional support center below or send an email to firstname.lastname@example.org
United States: +1 323 744 6453
Australia: +61 7 3102 9716