There are quite a few Catholics who have same sex attractions but abstain from any homosexual relations or sexual activity.
The guy hacky mentioned doesn’t really make sense, the sin would be to take communion and act like you’re not in mortal sin, and you’re also right that it doesn’t really make sense and he should choose, as Christ our lord even said himself, he prefers people either fully in or fully out, he does not like people hot and cold and in between. But I must emphasise this doesn’t mean he is saying people who sin should not be catholic, but people who wanna eat from satans plate and also eat and drink the lords body and blood. You can’t have both.