The bible speaks of unnatural USE and vile affections based on disregard of God.
Such is based on an ideal of male and female.
Many things can affect whether a male or female is fully male or female -and leaving the state of "Eden" included adverse effects on genetics.
Such things are not specifically addressed, as far as I know.
Rom 1:26 For this cause God gave them up unto vile affections: for even their women did change the natural use into that which is against nature:
Rom 1:27 And likewise also the men, leaving the natural use of the woman, burned in their lust one toward another; men with men working that which is unseemly, and receiving in themselves that recompence of their error which was meet.
Rom 1:28 And even as they did not like to retain God in their knowledge, God gave them over to a reprobate mind, to do those things which are not convenient;
You do not have to be "born that way" to engage in any behavior -but that is not to say that some are not born a certain way.
Sin is transgression of the law -and the law is based on an ideal physical state.
The issue is that disobedience to God -and choosing to govern ourselves -affects our own composition because we do not understand ourselves well enough to maintain an ideal state.
The overall issue is that we must all consider and abide by that which is true for all -because incessant subdivision creates a chaotic state.
That principle applies to all things -not only temporary gender issues.
Luk_20:34 And Jesus answering said unto them, The children of this world marry, and are given in marriage:
Luk_20:35 But they which shall be accounted worthy to obtain that world, and the resurrection from the dead, neither marry, nor are given in marriage:
"Homosexuality" is many things.
From a biblical perspective, one who desires to obey the God of the bible should acknowledge that God intended for one male to have sex with one female as long as they both were alive -and that any consideration of anything else under the law would be due to a person actually not being fully female or male.
For example.... Some people have both female and male genitalia. Perhaps not an "illness" as such, but it does show that traits of the two sexes can be mixed.
It is possible that this applies to other things which are not so visible or immediately apparent -I do not know whether or not that is the case, but that is not to say that people don't have any choice about how they express their sexuality -or even whether or not they are attracted to one sex or the other, or both.
It should be noted that the main theme of the bible is overcoming one's nature, to bring themselves into obedience to God -to rule over themselves and their nature -not merely be subject to their nature.
A person might really want to kill, steal, dishonor their parents, work on the sabbath, etc...... But they should do otherwise.
A person might also want to engage in sexual behavior other than what is allowed -but they should do otherwise.
The only consideration otherwise is when the law cannot be easily applied because there is an ACTUAL question as to whether one is male or female.
I know I am a male, so I cannot know what it is like to question whether I am fully one sex or another.
One who does face such issues should have the same attitude as Christ -not my will be done, but yours -and sincerely apply the law based on continued consideration and an honest, informed view of their own sexual identity.