Possibly. You don't say exactly what you want. Quite likely, when you disconnect the negative rail pin of the 7660, the 18 volt output will not go to zero, but to a diode drop or two below 9. Is this what you want? I am assuming that your 9 and 18 volt measurements are made with respect ot the negative side of the 5 volt microprocessor supply.
BS108 has a typical on resistance or 2.7 ohms with 2.8 gate volts, which should waste very little of the 9 volt supply to the 7660 with a few milliamp load.
Except that this is a mosfet, not a junction transistor, so the emitter is actually source, base is gate and collector is drain.
No gate resistor is needed.
Bad idea with mosfets. Paralleling two would lower the losses by half, though.