Yes, you can use 7/16 OSB for roofing since it is exceptionally durable and retains building integrity for an extended time than other sizes.