Yes, they’re illegal in all of the UAE. Whether you leave the airport or not I believe your bags will still be checked behind the scenes to make sure you comply with their laws and it’s just not worth the risk.
I’ve also just had a browse online and I believe sex toys are prohibited at your final destination too so that makes it a definite not worth it for me.
Inventive sounds like the best plan!