Penectomy but keeping the head

Is it possible to do a surgery where the shaft of the penis is removed but the head is attached to the base? Theoretically could you still get hard? It would only be your head and internal erectile tissue.