The reason for the restriction is that you make a near endless amount of words by allowing plural, past, future, genitive (at least in Danish, that doesn't take apostrophe in the genitive) et cetera. I'm unsure how I would restrict adjectives/adverbs, but the idea is that the words should exist as main entries in a dictionary.
Here's where I come from:
Decades ago I learned to play a word game which was more like MasterMind than Wordle, and it could be played with just pen and paper (later I have played it over sms, and over gratis bank transfers):
Each participant writes down a secret 5-letter word (unique letters, singular nouns, no verbs) and take turns to guess the oppponent's word. The only clue you get for each guess, is how many correct letters your guess has. You do not get to know which letters are correct, if any, nor if they are correctly placed. It's a bit more challenging than Wordle, something that justifies the restrictions, but even with Wordle I think it's reasonable to use just the “root dictionary words”, if I may call them so.