Very basic 101 question

I have 2 servers that I want to share an a virtual IP address in a failover configuration
(Only one will respond at any given time)

Is this something that can be handled by HAPROXY? I woudl want the software to reside on the actual servers (I dont have a linux box for a 3rd dedicated HA proxy)

Let me know and thank you !