Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Pistols and rifles CAN make those accurate shots. As for the recoil, I think it would theoretically be possible but the recoil inflicted on your arm is basically random. That's the only thing that would cause the barrel to deviate from the target.