Yes.
I am interpreting this question not as an exercise in doofusness but as a thought experiment for a post-apocalyptic dead earth scenario. Factories and chemistry must take the place of farmland and range. Nuclear power must take the place of the sun. Yes, yes; a world to build. Now the practicalities:
If you define minerals as things that can be mined, humans can live on coal, nitrogen gas and synthetic vitamins. These things need chemical modification before they are suitable foodstuffs but it can be done. For example, during and after WWII the Germans successfully used Fischer-Tropsch reactors to produce margarine from coal.
https://www.researchgate.net/publication/251459154_A_history_of_the_Fischer-Tropsch_synthesis_in_Germany_1926-45
Germany had the first technologically successful synthetic fuel
industry producing eighteen million metric tons from coal and tar
hydrogenation and another three million metric tons from the F-T
synthesis. The Allies maintained that Germany's Nazi government had
created the industry for strategic reasons under its policy of
autarchy and that in postwar Germany there were, economically, better
uses for its coal than synthetic fuel production. Three of the F-T
plants continued operation after the war. Schwarzheide in the Soviet
Zone, which had a labor force of 3,600, produced gasoline for Soviet
civilian and military consumption. Gewerkschaft Victor in
Castrop-Rauxel and Krupp Treibstoffwerk in Wanne- Eickel in the
British zone, were producing oils and waxes from fatty acids and using
them to make soaps and margarine.
Amino acids, which is why we need protein, can also be chemically synthesized from inorganic starting materials.
As regards minerals that is the easiest - of course calcium carbonate can provide calcium; you can buy it anywhere in tablets.