Diseases would be extremely unlikely from masturbating, but you can definitely get infections. Make sure to clean your hands well before doing the act and you should be fine.
im not an expert but id say its possible. maybe if you came in contact with something and didnt wash your hands.