In the sense that chronologically I saw one piece before I purchased a straw hat, then technically yes I suppose.
I'm not about to draw a correlation between an anime I first caught a few episodes of on cartoon network in 20 or so years ago and the Panama hat I purchased a decade later though.