You can short-circuit the biology of erection, but that doesn't fix the nonbiological problems that exacerbate and sometimes even trigger impotence.
You can solve erection issues biologically, but you will need to also solve the other causes of impotence.