Can a toddler have an erection?

Yes, from infancy up-- but it is NOT a sexual erection. Pressure from a full bladder or other natural physiological changes can cause the penis to become 'erect' but it will go away on urination. Note: Even friction against a diaper or clothing can cause the penis to stiffen.