Then all of experimental physics is based on analogies.
But it is better to say that experimental physics is based on the collection of data about a particular phenomenon, and fitting those data to mathematical models to test how well their predictions hold. And that is not analogy.
technically analogy has a broad definition that applies anytime you compare two things.