Like any mortal sin, you should confess this in Confession and receive absolution, resolving to live a chaste life, as you are in fact doing.
Therefore, yes, you can be absolved if you confess in Confession.
From the Catechism of the Catholic Church
[2359](javascript
penWindow(‘cr/2359.htm’)
Homosexual persons are called to chastity. By the virtues of self-mastery that teach them inner freedom, at times by the support of disinterested friendship, by prayer and sacramental grace, they can and should gradually and resolutely approach Christian perfection.
**2358 **The number of men and women who have deep-seated homosexual tendencies is not negligible. This inclination, which is objectively disordered, constitutes for most of them a trial. They must be accepted with respect, compassion, and sensitivity. Every sign of unjust discrimination in their regard should be avoided. These persons are called to fulfill God’s will in their lives and, if they are Christians, to unite to the sacrifice of the Lord’s Cross the difficulties they may encounter from their condition.
scborromeo.org/ccc/p3s2c2a6.htm
[1456](javascript
penWindow(‘cr/1456.htm’)
Confession to a priest is an essential part of the sacrament of Penance: "All mortal sins of which penitents after a diligent self-examination are conscious must be recounted by them in confession, even if they are most secret and have been committed against the last two precepts of the Decalogue; for these sins sometimes wound the soul more grievously and are more dangerous than those which are committed openly."54
When Christ’s faithful strive to confess all the sins that they can remember, they undoubtedly place all of them before the divine mercy for pardon. But those who fail to do so and knowingly withhold some, place nothing before the divine goodness for remission through the mediation of the priest, "for if the sick person is too ashamed to show his wound to the doctor, the medicine cannot heal what it does not know."55
[1457](javascript
penWindow(‘cr/1457.htm’)
According to the Church’s command, "after having attained the age of discretion, each of the faithful is bound by an obligation faithfully to confess serious sins at least once a year."56
Anyone who is aware of having committed a mortal sin must not receive Holy Communion, even if he experiences deep contrition, without having first received sacramental absolution, unless he has a grave reason for receiving Communion and there is no possibility of going to confession.57
scborromeo.org/ccc/p2s2c2a4.htm