Can We Put Microwave Near Stove?

Can we put the microwave near the stove or gas range? Yes, it’s called the over-the-range or OTR microwave.