As long as no complications and you feel like it, it is perfectly ok. Now that you are term, some people say that having sex will help ripen the cervix for delivery.
I think it's a way to help start labor! I agree with Super_sally888. Did you ever see the Friends episode where Jen was pregnant and trying to induce labor? Too funny.