Hoarders/scalpers are not aiding price discovery, they are manipulating the price by artificially changing supply or demand. They don't have to do so sustainably either.
And all of that is leaving aside that the goal of a society is to maintain the society over time and in aggregate, not to maximize value extracted from every individual transaction.
one could reasonably argue otherwise. let's take the example of toilet paper in the early weeks of quarantine. with or without the action of scalpers, such a massive shift in demand was going to cause toilet paper to go out of stock regardless. without scalpers, you are shit out of luck when this happens (perhaps literally). with scalpers, you at least have the ability to buy it at an eye-watering price. even before you run out, knowing that you have to pay $20/roll is a strong signal that you ought to use one or two squares per wipe instead of 3+.
On a hunch I'd say a scalper would purchase more off the shelf than a panic buyer, because with the goal they have in mind they a) want a large quantity to resell to a large number of people and b) want to drain shelf stock to increase their odds of success.
However, I can’t imagine the trouble that Nintendo would get into if they sold the same device at different prices based on zip code.
Not to say that doesn’t happen, because that’s half the point behind custom phone contracts, where the price you pay for the device over time varies widely from person to person. Though, because it’s individualized, it’s very hard for consumers to compare one another’s prices and identify minor monopolies or price discrimination when it does occur.
on the other hand, one could argue that this did happen in the aftermath of the crypto craze. in that time, gpus sold for well over MSRP (even second-hand) for a year or two. I don't think it's a coincidence that gpu pricing tiers jumped by a couple hundred dollars in the next generation (and again with the RTX 3090, although you could instead argue that's a price cut to the outgoing titan sku).