Potentially you could have the conviction that you have written about expunged. However, given the fact that it pertains to a sex offense the chances of such remains slim particularly if you had to register as a sex offender. I suggest that given the broad nature of your question that you consult with a criminal defense attorney about your matter.