Yes. Not only the method of contradiction but the inverse, converse, negation, contrapositive and many more mathematical logic can be used in poetry to make it beautiful and lively.
If this be error(Assumes negation) and upon me proved( that negation is to be proved on his life) then I never writ ( then we reach at a conclusion , he has not written anything) not no man ever loved.