HA Prox and App Server on the same servers

Is it possible to run a pair of HA proxy and app servers on the same two servers you are load balancing the application?

Yes, it is possible if you will place apps to the different ports (in comparing to HA listining ports).
At backend you should use
server[app port]
server [seconadary HA IP]:[app port]

Best Regards.