There already is an option for this! It only needs to be added to add/remove programs
Goto console and type:
tasksel
This lets you install several things:
DNS server
Edubuntu server
LAMP server
Mail server
OpenSSH server
PostgreSQL database
Print server
Samba File server
2D/3D creation and editing suite
Audio creation and editing suite
Edubuntu KDE desktop
Edubuntu desktop
Gobuntu desktop
Kubuntu KDE 4 desktop
Kubuntu desktop
LADSPA and DSSI audio plugins
Mythbuntu additional roles
Mythbuntu frontend
Mythbuntu master backend
Mythbuntu slave backend
Ubuntu Studio desktop
Ubuntu desktop
Video creation and editing suite
Xubuntu desktop
Edubuntu live CD
Gobuntu live CD
Kubuntu live CD
Mythbuntu live CD
Ubuntu live CD
Ubuntu live DVD
Xubuntu live CD
WARNING: if you remove a * it also deletes that. So unticking Gnome uninstalls gnome ;)
I already have that option in Synaptic... Edit--> Select by task (or something like that, mine is in spanish). LAMP is one of the options. I am running feisty, by the way.