Yes, Papaverine has been used to treat erectile dysfunction. Papaverine is used to produce erections. It is injected into the penis. Erections occur as a result of blood flow to the penis.