On a few occasions, I have encountered pistols that did not like one specific type of ammo, so this situation definitely can occur. However, when I find that a pistol in 9mm or 45 ACP does not like some common type of ball ammo, I am suspicious of the pistol, and it takes a great deal of testing before I would really trust it.
For example, if a pistol has occasional jams with Winchester White Box, but runs fine with other ball ammo, then something about that pistol is just barely within spec to run correctly. I have seen too many pistols run perfectly with every type of ball ammo to think that one that is picky about ammo is totally within specs.
Note that this assessment applies only to 9mm and 45 ACP ball ammo. In 40 S&W, a wider variety of bullet shapes is used, and some guns don't like some of them. And with defensive ammo, the wide range of bullet shapes and load energy can cause issues. But if a 9mm pistol is picky about ball ammo, then I am suspicious of the pistol until it has been
proven for many hundreds of rounds.