Possible.
He could be like the clever but insecure kid who doesn't study for his exams - so when he fails he can say, well, that's alright, the results don't prove I'm stupid, because you all know I didn't study anyway: but if I had have studied, I would have walked it.