sure you can do that if you have some panorama software supporting 3d panorama creating.

I love the Panorama Maker can do both 360 degree & 3d panorama making, maybe you can have a look at the tutorial on how to stitch photos to see if it support making cubic panorama with 3 cubes.