I recently tried to use it to learn the Blender API, without much success. It halucinates left right and center, so I had to go back to reading the docs, trial and error, as well as reverse engineering. I'd be honestly surprised if you could use it to create an entire game.
As long as you just use it for generating the code and not the assets, Valve doesn’t seem to care.