1) there is not a consensus as to what an optimal economy looks like for reasons so numerous its unimaginable someone would make such a claim, but include things like: globalism vs nationalism, hedonism vs utilitarianism, militarism vs pacifism, importance of a problem vs tractability of a problem, etc ad infinitum.
2) even if there was somehow a consensus on what an optimal economy is, its a floating target. economics is based on intangibles like demand and peoples feelings. if such a thing were to exist, it couldnt exist for long and would require constant change.
3) what an optimal economy could even theoretically be requires knowledge of the future. if earth becomes uninhabitable in 1 year due to meteor impact, the optimal economy certainly doesnt involve anything but meteor detection and defense. or from volcanic eruption. or solor flare/ejection. or nuclear war.
do you bemoan a suboptimal economy when people buy 50 sneakers? or candy and soda? or have 5 TVs? or 3 computers? what does wealth inequality have to do with anything? what are you even talking about?