ah, but motherhood is not "logical"...
As a Catholic, I oppose "test tube babies" on the principal that it separates sex from procreation.
However, if you read the BIBLE, there are plenty of stories about women who do "immoral" things to get pregnant...and God doesn't punish them very much, because their hearts were good, and they did the "immoral" deed from motives of love.
Can you give some examples?
The only situation even close to what you describe, that I can think of, is Tamar, who seduced her father-in-law, Judah, and conceived Perez, an ancestor of David. And I don't recall anything about "good hearts" or "motives of love." The story in Genesis takes the position that she was justified because Judah had broken custom by not allowing her to marry his youngest son.