Yes that's what I meant, is it valid in Wordle specifically.
They have two lists of words: one is a list of possible answers, and another is a list of extra (valid) words which can be guessed (in addition to the words in the answer list). Sometimes it might be better to use a non-answer word as a guess: the best case gets worse (since you cannot win immediately) but the average case and worst case both get better.