I think some form of this could improve the game.
I would start by having any spell cast as an Action (not reaction or bonus action) trigger an opportunity attack. If this opportunity attack is successful, you must also make a Constitution Save DC: 10 + the spell's level, with a failure cancelling the action (no slot expended). Finally, certain sub-classes (War domain, Bladesinger, Eldritch Knight, etc.) would gain the ability to automatically pass the save, but still have to risk damage from the opportunity attack.
I think this works a bit better than the concentration rules, since the more powerful the spell, the harder it is to successfully cast it. It also keeps reactions and bonus action spells viable in melee, when they're most useful. Certain archetypes shouldn't be punished, however, so they should be able to bypass or mitigate it somewhat.
I would start by having any spell cast as an Action (not reaction or bonus action) trigger an opportunity attack. If this opportunity attack is successful, you must also make a Constitution Save DC: 10 + the spell's level, with a failure cancelling the action (no slot expended). Finally, certain sub-classes (War domain, Bladesinger, Eldritch Knight, etc.) would gain the ability to automatically pass the save, but still have to risk damage from the opportunity attack.
I think this works a bit better than the concentration rules, since the more powerful the spell, the harder it is to successfully cast it. It also keeps reactions and bonus action spells viable in melee, when they're most useful. Certain archetypes shouldn't be punished, however, so they should be able to bypass or mitigate it somewhat.