Bismihi ta'ala
Of course, Almighty God forgives all sins, when we turn to Him, and repent and seek forgiveness. The door of tawbah is always open, but we need to always be careful that we do not be deceived by shaytan, or turn sin into an ongoing habit, where we casually engage in haram.
Repentance is important, but it is also a blessing from God, as He knows our level of sincerity and remorse, and how we wish to change our ways, improve ourselves and avoid sin.
Strengthening our faith and will-power will make us strong enough not to return to haram as well.
And Allah knows best