Luke Skywalker wore a bucket hat. (yeah, yeah, not in the final film)
So I see nothing wrong with a character wearing a cowboy hat.
MOST of the costumes in Star Wars come from real world clothes, not crazy sci-fi outfits.
That Clone Wars show does suck though ;p
And that character wouldn't fit into the OT.