Assuming the question is what Ivan is saying possible the answer is no based on multiplication. He could get at most 8 12-inch fence posts.
12 x 8 = 96 leaving him 8 more inches of board.
12 x 9 = 108 meaning he would need 4 more inches of lumber to make his last fence post uniform with the rest.