Definitely. In 1974, to honor the updating of the Arecibo radio telescope in Puerto Rico, a message was broadcast towards Messier 13, which is about 25,000 light years away. To be sure, just because we broadcast it in that direction, we can't assume any hypothetical aliens there could detect it. But, because the beam is focused directionally and also generated with most of the power at a chosen frequency, it can be as bright at that frequency as some astronomical sources and should have been detectable "just about anywhere in the galaxy" (if we had aimed it in the right direction) with a detector the same size as our transmitter.
Even unintentional messages might be detectable, but it would be hard. Recently a study was done to see whether the cumulative effect of all cell phone signals would be detectable from Barnard's Star, which is about six light years away. The conclusion was that it would be very hard for them to detect. But these signals were not focused or otherwise designed for interstellar communication, and so the effective power is thousands of times less.