Are dildos safe?

So I’m just about 40 weeks. I’m only asking this to make sure it’s safe to do or not. My SO refuses to have sex with me because he’s uncomfortable because he thinks he’s going to hurt he baby and that her head is basically right there so I haven’t had sex in weeks. I heard having sex can help the process and would like to know if it’s safe or not to use a dildo. Not rough obviously. I’m about 1cm the last 4 weeks with no signs of progress as a ftm. I’m trying everything from squats to up and moving around and nothing seems to work. They want to induce me if nothing happens in the next week and I’m trying to avoid it. No rude comments if your not going to be helpful.