What you're describing sounds like abuse that should be stopped. But there are innocent ways that you can end up with an answer and a close-vote.
I sometimes answer and vote to migrate (e.g. to superuser). But usually people vote to close as "should have been asked on SU", rather than voting to migrate, which leaves it closed on SO with my name as one of the close voters.
This happened today with Was there a 'git' in the 1990s?. I answered it because it was somewhat interesting, and I knew the answer.
After having my answer half-finished, I noticed a comment on the question pointing out that it wasn't really on topic for SO, even though it was interesting and not inherently a bad question. I posted an answer anyway, expecting that we could get the question migrated if there is anywhere else on stackexchange it might belong. (It's not a great fit for Superuser either.)
Then I voted to migrate to Superuser, and left a comment encouraging others to do the same. This is done by voting to close as "belongs on another site"->Superuser. The majority of the close voters voted "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming", which is a separate close reason, so the question is still on SO but closed.
(And apparently very unpopular, with 7 downvotes and 3 upvotes, so probably not worth trying to do anything with it. The info is easy to find on wikipedia anyway, so I'm not upset about this particular question doing down the drain.)
For questions that are definitely worth keeping, I've sometimes (like 2 or 3 times over the last 3 years) raised a custom mod flag to ask for migration if it looks like people are going to close it instead of migrate it. (Or if that's already happened).
Maybe that's selfish of me, but I'd rather just answer it while I'm already thinking about the question itself (rather than moderating the question), instead of waiting until it maybe gets re-asked on another site and then having to find it or wait for someone to ping me about it. Sometimes it's not obvious where to draw the line with computer-architecture questions, so I don't feel the need to punish someone for asking https://superuser.com/questions/1226197/x86-address-space-controller on SO instead of SU.
If it happened a lot, I wouldn't burden the moderators with it. (Usually people that ask interesting questions choose the right site, and I don't want to answer boring questions anyway.)
voting to close does not close, unless you use the dupehammer, so the question still needs answering;
an off-topic question does not need answering, it needs to be closed. 3.voting to close prevents converting to dupehammer later when you discover the dupe;
you can always go to chat (in places like the SOCVR) for help with closing a question as a duplicate which you've already voted to close for a different reason.