Yes, you can pull the trigger and dry fire it, but the mag disconect safety blocks the firing pin from making the full motion to make contact with the primer. So yes, it sounds like SR9/c could be fired, but actually it should not be able to unless the mag disconnet is removed.
Also, You can damage the firing pin by repeated dry firings without an empty mag in the gun.
CAUTION: Dry firing your RUGER® SR9TM with the magazine removed may
result in damage or unnecessary wear to the striker blocking mechanism.