I dry fire mine all I want. It should not make any more difference to the striker than actual firing. Dry fire is essential to learning to shoot well. If it breaks the pin or harms the spring it's a cheap repair.
Nice old double shotguns muzzle loaders & some rimfires you don't want to dry fire. New auto pistols let it rip.