Yes, definitely! They did not really inquire out of interest, but being convinced in truth of their fallacious doctrine that there is neither afterlife of soul of a deceased man (Acts 23:8 μήτε πνεῦμα), nor the resurrection of bodies (μὴ εἶναι ἀνάστασιν), they wanted to make Christ a laughingstock by their reductio ad absurdum argument intertwined in their conceited and smug rhetorical question.
However, when somebody adopts an irony, or its acute form, sarcasm, against any idea or teaching, then this somebody should hold truth, which is the legitimate foundation of the irony and sarcasm. But when you are sarcastic against Truth Himself and His teaching, then, of course you will be crushed and become a laughingstock yourself, as indeed those poor and ill-advised Sadducees became.