It's possible, depending on the type of power output. A wireless speaker can be put anywhere, providing it's near enough to its source device – smartphone, computer, or otherwise. Keep in mind indoor speakers won't usually be waterproof, though. So it's always best to get one built for the outdoors to be safe.