What MOSFET are you planning on using? MOSFETs take a finite amount of time to turn on because the gate capacitance needs to be charged. Especially very low RDson MOSFETs (high gate capacitance/charge) being driven by the weak, low-current GPIO of a regular IC. Don't forget to use a logic level MOSFET.
Of course, if you needed speed then you could drive the gate with a a dedicated gate driver IC triggered from the GPIO. Which also releases you from the bounds of a logic level MOSFET. But you probably don't need speed. Just putting it out there in case you did.