I've never used this method in D&D, but I've used it in games like Chronicles of Darkness, Exalted, and Scion where you have some amount of XP set aside and the players can spend them mid-session. I think it's a really fun idea that had mostly positive results in the games where I allowed it...