In a perfect world? Sure. In the real world? Ahahaha!
Law Enforcement (in the USA at least) has no requirement to act to prevent or interfere in an actively occurring crime. Their role, strictly speaking, is cleaning up the mess after a crime has happened. They investigate, and, ideally, capture those responsible, after the fact.
A cop has no legal requirement to help you if you are actively being attacked. Let that sink in for a minute.
This is one reason that many law-abiding citizens make the (rational) choice to conceal-carry a firearm for personal protection.
But you won't hear about that from the mass media because it's not the agenda they want to push.