yeah I have done a bit of that on my little personal projects, that I have "vibe coded".
It is fun because you get to look at code, like it is the 90s again, and everything there is relevant and important. As much as people fear AI is going to generate a lot of incomprehensible mud-ball programs, it is actually pretty good and generating concise things, that are easy to read.
HOWEVER...
Those personal projects don't resemble the requirements of contemporary software. Even internal enterprise software these days often needs support for stuff like internationalization, accessibility support, adaptive UI that is useful and efficent for the comptroller with the 43" monitor and for the CEO who insists he only needs a 6" mobile phone for all the things.
The libraries are big because they do all that stuff, and if skip them you don't get that stuff. 80% of the time you don't need that stuff. That said, for your little S-corp, or even smaller LLC you might not need that stuff right now but very suddenly you might find that you do. When you do you'll be rewriting or at least rebasing a lot of code back onto those big library stacks; where as if you'd used them in the fist place it would probably be just add some start up parameters to flip on 'high contrast mode' in the display tool kit for the color blind person you just hired. Alternative you could try to just add the functionality you now need, but of course then you are just putting the complexity right back and getting to run a new untested system, with lot of fun corner cases and gotchas for you to discover all by yourself because you did not know enough about the subject to tell the AI Agent what it all it really needed to do.
It is fashionable to hate on all the complexity, but to often people forget about the simplicity it affords. You can today get an incredible amount of functionality out of handful of lines of "application" code. If I use a browser as my UI, a single gives me an edit control where a user can write click and get spelling suggestions, the get ranged selection support, I can style it with a few more lines of re-usable css, screen readers know what to do with it, and more; try that with your win32 CreateWindowEx() edit control....
Complexity means bugs, because bugs are ultimately a function of interactions that were not considered fully, the more stuff interacting either the more buggy it will be or the more effort will be need to control for it. The complexity though exists because people demanded it, society decided software had to be usable even if you don't speak English, and we decided things like it should portable even if you change computer architecture, and .... achieving all that without the library ecosystem really would be impractical.