I wouldn't find it funny because it isn't clear that what's being communicated is a joke as opposed to some obscure idiom that I don't know. I wouldn't buy green bananas because they taste terrible, so it would seem on the face, not very useful advice.