Some are, some aren't. Gretzky coached a bad org. but won a gold medal as coach
Harbaugh turned out to be an okay coach.
Detmer may or may not be a great OC, but being a QB coach or whatever first won't do anything more to prepare him for the job. If he's a bad OC, it won't be fore lack of preparation.