It will surely work if you treat it like a genuine website,
You'll have to make keyword research, silo, optimize the website for eat, make the content unique with decent quality & optimized for the keywords,
Implement a manual or automatic way to add proper internal links as well as investing in decent backlinks depends on the competition,
The thing is, with several trial & error and some creativity, you can get good content, but content is just a piece of the puzzle,
SEO include more things to focus on which most people end failing at, especially with today's SEO where all details matters,
If your plan is to use a new domain with basic theme, bad UI, very common niche/keywords, with no links, primary pages, silo, internal links, backlinks,
As well as craft the content using a very basic AI prompts with the cheapest possible model & posting all of the content overnight,
Then you'll end up burning money, effort & time,
These are just mere examples, there's much more stuff to pay attention depending on your niche and type of website you're planning to do,
Invest properly and you'll end up banking with AI