My memory of the law is
“heat cannot of itself pass from a hot body to a hotter body”
So the microwaves aren’t heat so that doesn’t brake the law
Chemical reactions generate heat. But its not really transferring heat of its self
We can make heat by doing work, hence the bicycle pump
Heat pumps move heat from one place to another. But again the energy transferred is not in the form of heat. It requires work to be done
I’v had to google Peltier coolers but it looks like the energy is transferred electrically
So I think the answer is no. But it does really depend on what the OP intended
Oh and that the Op meant hotter as in higher temperature