Is it possible to add tooltip on vline or hline?

I want to have a tooltip to appear if user hovers on a line added by vline or hline on the plot. Could this be done?
Thanks