Tri-state push-pull configuration GPIO protection
Yes, the circuit for driving high side PMOS and low side NMOS FETs looks correct and should work in theory.
Actual performance will vary due to exact part numbers are not known.