But is it profitable to buy hardware, knowing that it will only run some of the time, when the mempool gets extra full? Maybe. Depends on both the hardware cost and the variable costs.
It does seem inefficient for miners to turn on and off so frequently