You may be able to pull it apart and use the slats as bracing but in my experience pallets usually suck for structural stuff. Id say start from scratch
Get a sheet of wood, trace out the transitions to your desired height/length, use 2x4s to connect them, put a sheet of wood accross get a piece of metal for the bottom.