Using apt-get to install a web application instance
No, at least not in the way you think. It is not possible to use apt-get to install multiple instances of the same package to different locations.
However, there are quite a few web applications that are designed to be installed once and can be run from different domains. One copy of the source code, but configured to run on many virtual hosts, using different configurations and databases. So it depends on the package you want to install.
a source to share
You can put your own packages into your own package repository and add it to each server /etc/apt/sources.list
, then call apt-get update && apt-get upgrade
on all servers to update.
As Sander Marechal said: You usually don't need separate copies of the source code for each service instance.
a source to share