Same sex attraction is a temptation I pity those who have to deal with it.
Fortunately, temptation is not sin but unfortunately, they will struggle all their lives unless God miraculously delivers them.
And He CAN take away those desires, if people repent and ask Him to.
God can and will heal anybody who earnestly asks and as you say repent.
I’ve seen it and heard the testimonials.
He truly is Amazing!