Probably not. MOSFETs have different drive characteristics to NPN transistors. The MOSFET will want ~10V gate voltage to be properly on, while the NPN will want ~1A base current (and only ~1V).
Assuming the drive voltage will actually go to 10V (with the NPN removed), you'll probably need a strong pull-down resistor to turn the MOSFET off when the output is no longer being driven. If the drive voltage can exceed 30V, then you'll want some protection in the form of e.g. a 24V zener.
If you can provide a schematic then you can get a more definitive answer.