yes, there are several games exploring this idea on steam.

Could you name a few of the best ones?

Noita is the first that comes to mind.

Some others that I have in my library are magicraft, fictorum, and spell chain.

I'm messing around with these ideas myself, reminds me of the old days of crafting broken spells in morrowind.