Are you claiming that the purpose of an analogy is to smuggle in problematic assumptions, and so if one analogy is fallacious, they all are?
Yeah no, I disagree. A sufficiently formed analogy serves as a "mapping" or logical "reduction" from one problem space to another. If a party understands how to solve a problem in one problem space, and agrees on the mapping to a different problem space, now they also know how to solve the problem in the new space.
However, if you propose a fallacious mapping, then your argument is now also fallacious. It would be no different from proposing a solution to a math equation with an error in the work. Your solution could still possibly be a correct one just by chance, but you have not successfully shown a valid path to the solution. That's the definition of a fallacy.
Yo dawg, I heard you like analogies.