No, you are NOT permitted to apply in that case.
The Tanzanian eVisa is not available to Diplomatic/Official Passport Holders. There is just only the ordinary passport is able to apply for Tanzanian eVisa
For any assistance, please call 24h professional support center below or send an email to firstname.lastname@example.org
United States: +1 424 253 0545