Mathematically,
Kerr-Newman black holes which are charged and rotating, which would create a magnetic field, are theoretically possible.
But, observationally, we really don't know which of the four kinds of theoretically possible black holes are actually realized in the real world, how common each type is, and what processes tend to produce what kind of black hole. This is mostly because it is hard to tell.
Black holes, because they don't emit light, are tricky to detect at all, unless you have just the right circumstances (e.g. a black hole feeding on a nearby star in a binary system, or a merger of black holes leaving gravitational wave signal, or a supermassive black hole whose gravitational field impacts the motion of the stars in its vicinity).
Furthermore, the observation of whether it is charged or not is also confounded by the fact that black holes will frequently have charged particles orbiting them, often at very high speeds, near but outside the event horizon, which generates a magnetic field separate from the magnetic field of the black hole itself. So, for a solar system bound astronomer, distinguishing a magnetic field of the black hole itself from the magnetic field of charged particles surround it is challenging (i.e. virtually impossible).
Theory tells us what's possible, but when there are multiple possibilities, we can't necessarily to determine based upon pure logic alone what the actual reality looks like.
The conventional wisdom is that because observed astronomical objects do not possess an appreciable net electric charge (the magnetic fields of stars arise through other processes), that the Kerr–Newman metric is primarily of theoretical interest. But while this is a plausible conclusion from the available facts, we don't know for sure.
For example, it could be that actually, virtually all black holes are Kerr-Newman black holes, but that their electric charges, while non-zero, are so close to to zero (due to a typical net electric charge of perhaps one part per billion of negative charges in excess of positive charges in a pre-collapse star) that this electric charge and the resulting slight magnetic field can be ignored for all practical purposes.