Is it possible to spread holy water on a weapon like you do with poison?

I’m wondering whether a character could spread holy water over his sword or axe and then hit an undead and on the first hit, inflict an extra 2d6 as if the holy water had been thrown at the undead. After all, we can do that with poison and holy water is like poison to undead creatures.