the way to resolve a desire for sex is, shockingly, sex not adopting a child because you genuinely care for them? you don't even get to satisfy anything lustful by the conception of them, there is nothing lustful about adopting a child with good intentions
The desire of sex is programmed to produce and nurture next generations. If one adopt a child and raise "it" like its own child, then he satisfies the original reason of sex.