The following is an article written upon a dramatic story where a woman wanted to have a baby from his husband who was in a coma.
Her doctor, took her husband's sperm out with a syringe and then froze it with liquid nitrogen in order to carry it to the woman.
So, I think is possible but I see no reason why you would feel such a pain.
Why not just masturbating?
PS
Sorry the article is in Italian but if interested you can always translate it with a freeware.
http://www.lucacoscioni.it/rassegnas...-un-figlio-dal