Yes. you can still have sex even with herpes on the condition that your partner knows about you having herpes. It is recommended to not have sex when you have an episode.