If you use quality wheel spacers for rims and install them correctly, they are exactly safe.
Use precise hub-centric wheel spacers rather than universal lug-centric spacers.
Use a torque wrench with the manufacturer-recommended torque specification to fasten the lug nuts/bolts properly.
Check and confirm the proper alignment and function of your wheels and tires before driving.