Elephants are able to suppress their sneezing reflex when they sucks dry dust up their trung and blows it over their back. But can they sneeze if they have to?

Googling your question there would appear to be a wealth of information that elephants do indeed sneeze. Presumably as you say they have evolved a mechanism that stops them sneezing when sucking up dust or dry earth.