Consider the following premises. It is not cloudy. James is reading a book. If James reads a book, then it is cloudy. If it is cloudy, then James is reading a book. Can we infer the following from them? Richard is not an astronaut.
The premises are contradictory and we can infer anything from them. Therefore, the answer is yes.