I get pallets and pallet tops by the truck load, free. Stack fire wood on pallets and cut up the pallet tops for kindling. Occasionally some of the pallet tops are 4' x4' sheets of 1/4" plywood. Used some of the 1/4" plywood to cover interior walls in son's garage. Use the skid steer to haul most of the pallets to the burn pit.
Big problem with free pallets is that a good portion of them are damaged/broken. Next issue is that removing individual boards is difficult without damaging the board.
A family friend used pieces of wood military cartridge cases to side his barn. Brother in-law who works at a munitions plant built a good portion of his house from purchased lumber salvaged from rail cars.
I know I didn't answer the question posed in the original post. As far as building a entire shed, a permanent shed, from pallets, probably not. If the bottom or edges of the pallets are set on soil, they will rot out in short order.