Taking opioids may constrict your pupils but it won't hide that you're on MDMA... blown pupils are only one of the give aways, the facial flushing and intense empathy is also something to consider.
If you have to hide it from others, don't do MDMA...