But D&D isn't a competitive game. It is a collaborative storytelling game and not every player even needs to buy things. I am having the hardest time with this fear of Pay to Win in D&D. Everything is optional. Even the revised Core books. People only ever have to buy what they want.
MTG decks require specific cards to be owned and used. It's not a good comparison. The random D&D Miniatures Game boosters are also not technically for the TTRPG.
The closest thing Wizards got to that for RPGs was when Wizards tried their hand at selling "boosters" of the Gamma World RPG game cards, where the only way to get certain powers was randomly from the boosters. I think they learned their lesson there. Some people don't even know that existed.
Now I also doubt they will randomize "loot boxes" of items in their future Digital efforts, but they are more likely to keep with Subscription models that could potentially grant cosmetics that would otherwise cost more if bought on their own. I can see how some people hate subscription models. I can also see how some people love them (look how many people buy seasonal battle passes and similar things because they find them valuable).
Any kind of sales model will have fans and detractors. People spend differently. That is the nature of the market, and companies are always trying to find the best way to get that money. My recommendation? Make it high quality and fun, but make it optional, not necessary. A mimic dice bag isn't necessary. But there are people who like them.