Sure. No problem. I have done dozens. Just remove the trigger group and push out the little retaining pin at the rear behind the trigger guard. It is best to do this over a towel so you don't loose the parts. If it isn't obvious how this works, it would be better to leave it to someone who knows what they are doing.
Some people use the existing plunger and spring when they install the new safety, but I have found that it works better if the old style spring and ball are used. All these parts are available. Just ask me.