Yes, this is possible. Below is a sample configuration of /etc/network/interfaces:
# The primary network interface
auto eth1
iface eth1 inet static
address 192.168.5.2
netmask 255.255.254.0
gateway 192.168.5.1
dns-nameservers 192.168.5.1
#######################
# ucarp configuration
#######################
# vid : The ID of the virtual server [1-255]
ucarp-vid 1
# vip : The virtual address
ucarp-vip 192.168.5.3
# password : A password used to encrypt Carp communications
ucarp-password secret
# advskew : Advertisement skew [1-255]
ucarp-advskew 1
# advbase : Interval in seconds that advertisements will occur
ucarp-advbase 1
# master : determine if this server is the master
ucarp-master no
# The carp network interface, on top of eth0
iface eth1:ucarp inet static
address 192.168.5.3
netmask 255.255.255.0
Cheers