Yes, it is posible to export and import a whole site collection.
This can be handy if you have to change environment or just for backup reasons.
Exporting the site collection can be done with STSADM
The comand to do this is:
For importing the whole thing again you can use the following command: