As homosexualityhomosexuality is a sinsin, it is safe to conclude that God did not "create them this way". Just like God didn't create thieves as such, murderers as such, liars as such, etc.
It is as a byproduct of the fallen world in which we live that Romans 1:26-27 was written:
For this reason God gave them over to degrading passions; for their women exchanged the natural function for that which is unnatural, and in the same way also the men abandoned the natural function of the woman and burned in their desire toward one another, men with men committing indecent acts and receiving in their own persons the due penalty of their error.
Whether there are genetic mutations (errors resulting from Adam's first sin) that contribute to some people's homosexual tendencies may be debated. But as to it being God's purpose, intent, or design? No - He did not create them that way.
Genesis 1:26-27 also indicates that it is not God's intent:
Then God said, "Let Us make man in Our image, according to Our likeness; and let them rule over the fish of the sea and over the birds of the sky and over the cattle and over all the earth, and over every creeping thing that creeps on the earth." God created man in His own image, in the image of God He created him; male and female He created them.