It does sound fun, but there would have to be some layer to control the amount of wackiness, or it would feel random to the point of meaninglessness, like "procedural oatmeal"?
You may want to look into the nintendo zelda chemistry engine
Deleted Comment
https://github.com/briangu/klongpy/blob/main/docs/quick-star... links to an "API Reference" and a "REPL Reference", but the links are broken.
https://klongpy.org