Yes, excessive masturbation can cause inflammation of the urethra and introduce bacteria into the urinary tract, potentially leading to infections.