No, you’ll need to register your newborn as soon as possible for them to receive care from the NHS.
If you and your partner are both Australian, your child will need to be registered in the borough where you gave birth, as your child will have a UK birth certificate, but not citizenship.
If you’re giving birth in the UK on any visa, you’ll be entitled to all the NHS has to offer.