Yes, they can. But whatever they are doing to their body, they are doing to their baby as well.
Can they drink and smoke while they are pregnant? Sure, it is their choice.
Should they? Perhaps not, if they care about the welfare of the little human that is growing inside of them.
I am really sad that even HN is the target of this type of bullshit.