No, an electromagnetic wave cannot be deflected by an electric field or a magnetic field. This is because according to Maxwell's theory, an electromagnetic wave does not interact with the static electric field and magnetic field. Even if we consider the particle nature of the wave, the photon is electrically neutral. So, it is not affected by the static magnetic and electric fields.