Yes, a day trip to Polignano a Mare is doable and a great way to spend a day (or even a morning or afternoon if you’re crunched for time).