Sure, units can be setup to do it that way, which is how the mines in Illohir work.
However, I was going along the lines of proximity mines, that would detonate at a certain range by another unit passing by it and not actively engaging the mine, like mines in TA.