Probably for languages, but even still I would assert memorizing a dictionary is less informative than reading 50 books.
If you're trying to learn the content of the book, the process of converting the information into flashcards entails engaging with the material, so that isn't skipped.
There are frequency lists of vocabulary words for languages: basically some words are used more frequently than others so memorizing the most common 1000-3000 words is enough to get very high comprehension rates for everyday conversation and reading.