Yes, you can. Not sure what you are doing, but you can start two varnish processes, each on separate ports, or one varnish instance listening on two ports. Examples of each of them:
varnishd -a 0.0.0.0:3000 -f /etc/varnish/default_1.vcl -i varnish_1 -n /var/lib/varnish/ubuntu1.dev/varnish_1
varnishd -a 0.0.0.0:3001 -f /etc/varnish/default_2.vcl -i varnish_2 -n /var/lib/varnish/ubuntu1.dev/varnish_2
, 3000 3001, , . (shm).
- -, ( ).
varnishd -a 0.0.0.0:3000,0.0.0.0:3001 -f /etc/varnish/default.vcl