That's clearly the case with monsters.
However, whilst probably no edition of D&D has used exactly the same rules for PCs and NPCs, the rules were very similar up until 4th edition, which was a massive change in the way NPCs were statted up. 5th edition dialled it back a lot, but the NPCs still...