FYI Evolutionary Algorithms have been an active area of research for decades.[1]
Among the many uses, they have been applied to ‘evolving’ neural networks.
Famously a guy whose name I can’t remember used to generate programs and mutations of programs.
My recommendation if you want to get into AI: avoid anything written in the last 10 years and explore some classics from the 70s