Yes, broken nails can cause infections. Especially if you don't clean or disinfect them properly. Be sure to clean your broken nails with mild soap and water. Then disinfect them with alcohol or hydrogen peroxide. If the nail is badly damaged and repair is impossible, it is best to remove it professionally. It will avoid possible infection.