Early emphasized conditioning that sex is sinful outside of marriage is often the root cause of genophobia. In my opinion, it is unfortunate. Although parents and teachers who hold such views are well-intended, such teaching can backfire. When the child grows up and the time comes to have sex, he (or she) can’t somehow magically turn off all that teaching to enjoy intimacy, whether within marriage or not.
The answer to your question is “yes”. Therapy can help you reconsider the teachings of your childhood and can free you to make your own decisions about when it is okay for you to enjoy your sexuality. A cognitive behavior therapist might be the best choice.
I hope you will take advantage of what therapy has to offer. You are only 23. You have a long life ahead. It is worth spending some months in therapy to ensure that you can enjoy sexual intimacy for the rest of your life.
I wish you well.