That was, in fact, something you could do with touch spells in 3.x. Of course, back then, touch AC was a thing, so attacking regular AC was strictly worse option. 5e doesn't allow that, and you can't hold the charge like you could then. I guess it could work with Vampiric Touch.