I created a MOD in my homebrew to implement this.
The only problem is that cantrips are supposed to cost 1/2 level. I couldn't get this to work with a decimal.