Although it will be useful information in the majority of cases, you cannot (always) label an existing X-to-Y solution as an answer to a Y-to-X question.
As a possible answer? Sure. But you're talking about making it a duplicate; which entails closing the second question, which inherently means that no other equally meaningful answer can be given.
You should only close questions as duplicates if the already existing answer is definitively the best answer to this question. in other words, there is no point to rephrasing the same answer again and again.
But that is not yet proven for an Y-to-X question and a (supposedly duplicate) existing X-to-Y solution.
A simple counter example
Q What is the square of 3?
A The square of 3 is 9.
Q What is the square root of 9?
Should we mark this second question as a duplicate? From your post, I assume that you think it is a duplicate question.
However, while the topics are certainly overlapping, the correct answer to the second question is that the square root of 9 could be 3 or -3.
If you close this second question as a duplicate of the first, then you never included the possibility of a negative square root. That negative square root was never addressed in the first QA, since it was never part of the question.
Just because the X-to-Y has a strictly defined (and well accepted) answer, does not mean that you can automatically assume that the Y-to-X answer is the logical inversion, or that the answer is the same in any way.
While it (probably) is an answer to the question, it is not automatically the best answer to the question.
However, the example I gave only applies in a subset of cases. There will be numerous cases where you can actually correctly invert one solution to fit the other; and there won't be any issue whatsoever.
Because of this, I would not be in favor of closing the question as a duplicate; because closing a question means that no other meaningful answers can be given. And in these cases, it is possible that more meaningful answers exist.
I would suggest that you refer to the (supposedly duplicate) existing answer inside your posted answer to this new question.
You still get to refer to existing knowledge, which may or may not be the best possible answer. But you at least prevent the wrongful closure of a question that could have a better answer than the duplicate one.
You also don't run the risk of repetition. Once the Y-to-X question has been answered too; you can close any future X-to-Y or Y-to-X question as a duplicate of either the original X-to-Y question or the original Y-to-X question.
So I don't think this is an ongoing problem, it can only occur once for a given topic.