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