Yes. During a traffic stop, an interrogation, or an arrest, you can record an officer.