they sell snap caps if you're worried about firing pin damage.
I've dry fired my rifles and pistols thousands of times each with zero failure...many guns over the years. Now if you have a rimfire, you'll not want to dryfire it unless you have snap cap or empty case...some are ok to but others, you'll damage the pin and the barrel.