Is it okay to have sex?

I’m 38w6d, is it okay to do it with my hubby? We have barely been intimate my entire pregnancy due to my lost sex drive but now it seems like it’s back & sex is all I want. Lol I’m also 1cm dilated, is that bad?