Yes. Ars Magica has a system like this.
PC magi can invent formulaic spells (effectively during downtime, takes one or more seasons), they can also cast spontaneous spells on-the-fly, in a combat round. Usually an individual PC can invent greater magnitude (i.e. more impressive, more damage...