X2OSB=Oriented Strand Board.
OSB can be used. I have used for a large coop in the past but it should never be allowed to contact the ground as it wicks water badly. It should be painted very good as well.
The best way to use OSB is to cover it with siding of some type.