Will it work? Yes. Is it good for you? No. Can it potentially cause serious damage doing those two drugs so close together (assuming you did the Meph within the past couple of days or so)? Yes.
It'll work, but it's not the smartest of ideas. Wait a while before you do MDMA after Meph...