It's not necessary that the mechanics support the lore, but why wouldn't a designer strive for it? Unless there is a commitment to stay within a particular rules system - not an unwise decision, if that system is 5e - you have the wisdom of five decades of game writing to consider when creating...