If society needs a thing then it has utility, if it has utility then it is marketable. That said wit snot just “does society need some number of these people” as it is about having the correct number of them.
This has a caveat. It is only true if monopolies are broken up effectively. Also, you need to have enough people actually solvent.
Otherwise, you might not get to market your utility due to a broken market.