They’re not the same thing. You can stimulate the anus without hitting the prostate (think poking in and out of the sphincter without going deep), and you can hit the prostate without really stimulating the anus very much (think thrusting deeply in here without sliding through and out of the anus).
I think I’ve kind of just given a recipe for how to experience this on your own so you’ll know.