Yes! I was thinking something like that, and that’s why I was afraid that I was out of my depth. Is that even possible to do using RaW? I was hoping to avoid editing the exe directly. I know just enough coding to get into trouble, rarely enough to get out of it. So far, each time I've tried, I got an immediate CTD.
I assume you can see my purpose, though. I’m looking for a compromise that allows you to cast a number of spells without immediately affecting your stats, while not allowing you to gain the full effect of a spell gain with only one in stock (like Ultima).