kkdelabaca,
This will work if turn-on/turn-off times of the MOSFET are not critical. To turn the MOSFET on quickly, you need much more drive current than an ordinary logic gate can provide. Also, if other logic devices are connected to the gate that is driving the MOSFET, the input capacitance of the MOSFET will affect the rise/fall times of the logic signal. In cases like this, an isolation resistor will prevent the MOSFET input capacitance from affecting the ligic rise/fall times. However, the turn-on/turn-off times of the MOSFET will be even worse because of the RC time constant formed by the isolation resistor and the MOSFET input capacitance. There is no free lunch!
Regards,
Kral