Can you work as a police a police officer with a felony?

No, not in the US. Under Federal law you cannot be in possession of a firearm. All states have separate prohibitions for felons being the police.