Yes, high standard filters such P2 and P3 will remove odors from wildfires and air pollution, etc.
They are also very effective against fumes, mist, organic vapors, dust, soot, ash and several gases. It is always recommended to consult a professional while choosing the right kind of filters.