No, since electromagnetic radiation propagates in a vacuum.
But has been known, on occasion, to travel through gases as well.