OP, this unfortunately was the same case with me. First few months, noone really saw the truth, I was the horrible person, until the truth came out. The lies as to where he is living, the level of drug addiction, the level of debt, the lies why he didn't make to see DC. People started to support me more with time. They still do, however part of family & friendship group still enables his behavior which results in him getting worse and worse. The same group of people still says oh he wants to clean up, he wants the help, he feels horrible. We are heading into a 1.5 years soon since this started and I can say, nothing has changed. No amount of pleading, begging, threatening, ultimatums has changed a thing. He was provided with resources for local centres, doctors, rehabs. He still insists he doesn't take drugs anymore yes disappears for days at the time. I have attended family meetings of drug addicts, online groups, chats, zoom meetings. The fact he hasn't told you about taking drugs means that he does not see it as a problem and he is deceitful. Do you really want to go through that with him without children? I can tell you it's been hell to go through it with DC! No support, financial or physical, not reachable, disappearing so you never know if you will get a call that he is dead, someone having to always supervise visits with DC as you can't trust a drug addict. Somehow though he is managing to keep a managerial demanding role he is performing, but the way he has been I don't think it will last much longer.
I do also know people that only take drugs like coke socially, manage to have great family life, travel, good jobs etc. Majority of people that wound up on coke, unfortunately cannot, particularly if their life doesn't go great.
Please look after yourself. The onus on any addict is to help themselves. I have tried at a huge cost to myself. I am still feeling it now. I'm anxious, angry, sad, forever tired. I don't know when he will reappear next and what issue he will cause next time. Do not have a child with this man, the chances of ruining your life and your child's life are too great.