Consider the following premises. If Joseph were a doctor, then it is cloudy. It is cloudy or Joseph is not a doctor. If it is cloudy, then Joseph is a doctor. Can we infer the following from them? If is not true that it is cloudy if and only if Joseph is a doctor.
That contradicts the premises. Therefore the answer is no.