Interesting idea to make it entirely out of AI, but that's already been done many times before.
for sure generating html games in javascript is something people has been doing since the first chatGPT LLM
but I've never seen this done for game engines
apparently for Unity this is hard if not impossible