No, it won't work. The human body is more complex than chemical. laboratory. Vitamins must be in a complex dosage and in the right combinations. And = in full.
For example, I will give calcium. A person almost always needs calcium, it is often not enough. And although there are many foods containing calcium, this element is easily flushed out of the body. In theory, you can consume it as a tablet (or just gnaw on chalk). But, at the same time, a small amount will be absorbed, and if the amount is sufficient, then instead of nourishing bones and hair, it forms kidney stones!
If you are looking for the easiest way to support your body with everything you need - then it makes sense to replace not only vegetables and fruits, but all food in general - modern science is developed enough so that cosmonauts do not take trucks from Uzbekistan to the ISS.
If you look at all this from the point of view of prices, then I think that in our country vitamins will also be out of competition, but somewhere in Central Asia they will not.
Well, of course, why I was interested in this question - many people love food not for the usefulness that it contains. Sometimes I am ready to give up all the vitamins of the world for a sour hard green apple;)
Upd: those who write that it is impossible, because "indigestible!" - if you write about vitamins that are now on the shelves, then you are right, but modern vitamins are NOT CREATED to replace fruits.
If calcium is poorly absorbed, then there is vitamin D, which helps the body with this. And so everywhere, if something is absorbed poorly, then the fruit contains something else that helps in the assimilation of the first. And there is no problem to take the second substance in a capsule too :))