Have at it. The only time not to is if the doctor tells you that you need "complete pelvic rest." That is kind of a doctor-ish way of saying no orgasms, because they cause the uterus to contract. But unless you have been specifically told this, you're fine.