You can create as many loopback interfaces as you like and assign IP addresses to them.
In Debian for example you can add:
auto lo:1
iface lo:1 inet static
address 10.1.1.10
netmask 255.255.255.255
dns-nameservers 10.1.1.1
and repeat that with lo:2, lo:3, etc...
If that's not good enough you can create a tun inteface:
auto int1
iface int1 inet manual
tunctl_user root
ip ip link set int1 up
down ip link set int1 down
You can also create loopback interface manually using ifconfig:
ifconfig lo:2 10.0.0.1 netmask 255.255.255.0
Or using ip:
ip addr add dev lo 10.0.0.1/24 label lo:2
Or using a dummy interface (as suggested by edvinas.me):
ip link add lo3 type dummy
ip addr add dev lo3 10.0.0.1/24
127.0.0.1?lodevice!