While it's understandable why you think so, not every asexual person is opposed to the idea of having sex. In the ace community, we even have a term for asexual people who are down to have sex for pleasure—sex-positive. Therefore, it wouldn't be unrealistic if an asexual character were to exist...