There are lots of 9mm guns that will produce about a 2" group at 25yds.
There are very few shooters who can produce 2" groups at 25yds.
There are very few SIGHTS on a 9mm gun that will produce 2" groups at 25yds.
By "carry model" do you mean 3" barrel? Good luck... Most highly customized, $2000+ 1911 Model 5" target guns will shoot 2" or less, from a rest, inside 3 inches in the hand of a pro.
Physically capable, yes. Practically feasible, no.
My XD45 4”, with 2 days per week of practice, and thousands of rounds down range, and years of experience, will produce 1.5” groups off-hand at 7yds, 2.5-3.0” groups at 10-15yds, and 5-6” groups at 25yds. Off a rest??? I haven’t shot my XD45 off a rest at 25yds, but I bet it’s 2.0-2.5” capable. An XD9 Tactical (5”), would no doubt be as good.
No doubt a Sig, Glock, HK, etc would/could be as good, but most guns are much more accurate than the hand that holds them, or the ammo in them...