Of course you can.
One option is to have a full-sized hammer installed.
If you prefer the bobbed hammer, it is still easy. First, make ABSOLUTELY certain the safety is on, and the weapon is pointed in a safe direction. Then, pull the trigger - the hammer will retract, but will not fall or fire if the safety is on. Thumb the hammer back to full cock.