A transplant is not possible.
It's technically possible to have an artificial penis constructed containing some of the nervous tissue from your existing genitalia. It wouldn't look or function exactly like the real thing though. For one thing a natural erection isn't achievable so an implant, normally inflated by a pump is used.