We do salmon that way all the time. My wife, who normally doesn't like salmon that well, just loves it done in the smoker with the butter/onion sauce mentioned above.
Give it a try... the cod should come out with a slightly smoky flavor (not overly smoked) and be tender, moist and flakey.