Yes, but he shouldn't have Easily.
As far as I know, no doctor has ever been sued for prioritising the health of the mother over that of the foetus in this type of case. And they happen every day in hospitals all over Ireland. The doctors treat them as medical (not religious, not legal) cases, and use the best possible medical treatment available.
This particular team made a massive, unforgivable error. Whether they really did that in the name of religion, I don't know, and to me it doesn't matter. They should have treated her, as other doctors and hospitals do.
There is no law in Ireland, and no doctor can claim there is, which states that a mother's health should be put at risk on the very, very slight chance of saving an non-viable foetus. Really there isn't.
This is medical negligence. Yes, there is a case for reforming the abortion laws in Ireland, of course there is. It should have been dealt with years ago, we all know that. But in this particular case, if the medical team are saying she died because of the law or because of religion they are passing the buck.