Photoshop Question

Is it possible to design a whole interface/menu in photoshop in one new image and then have adobe export the whole thing, but split up the pieces so u can put them back in a html editor or something.

Thx

Funky_C