If that were the case, then programmers would have fantastic documentation skills. And yet, by and large that's not the case.
Apart from that, the question is not whether the documentation is good or bad, but whether it's better or worse than the one a non-programmer would write.
Finally, even apart from writing skills, programming teaches you how to comprehend what you're reading (docs), and how to solve problems.