Same issue as this, Cant get rid of enemy player pet nameplates, but in 2023.
I have done:
/console cvar_reset
/console cvar_default
Manually searched all files in C:\Program Files (x86)\World of Warcraft for “nameplateShowEnemyMinions”
Disabled all add-ons
Scan and Repair via battle.net client
Enemy pet health bars show in combat, battlegrounds, and arenas regardless if I have the box unchecked in Options > Interface.