You can dry fire a centerfire handgun all you want. Only rimfire handguns have a precaution against it... although many rimfires will tolerate it well.
With some centerfire handguns there are precautions against dropping the slide on an empty gun... best to use snap caps. Read your owners manual to determine what is best for your particular firearm.
Happy New Year!
Shoulder Drive Nicholson Club