It's been said hat the most exciting phrase in science isn't 'aha!', but rather 'That's strange'.
Any violation of what we know so far as 'natural law' simply means we just found something new: an extension of our understanding. More to test and figure out.
Miracles in the sense of 'violation of known natural law' happen and generally lead to scientific revolutions (Michelson-Morely experiment, orbit of Mercury, photoeletric effect, etc).
Most things people think of as miracles violate either conservation of energy or conservation of mass. If those are broken in some fundamental way, we will definitely have a scientific revolution.
In the late 1950's, it was discovered that proteins fold with exact folds. This was due to advances in microscope technology. What was revolutionary about this observation, was that it had been assumed, to that point, that life was governed by the law of statistics and that random events were the rule of life. Protein were supposed to fold with randomizations. This observation showed that the most dominate materials of life; protein, had repeatable, order with a probability of 1.0; life was determinate and not statistical. The assumption du jour was wrong.
This should have led to a revolution in biology, and in the life sciences. However, here we are 60 years later and we are still using the old statistical way. A science swamp successfully resisted needed change. The horse and buggy killed the horseless carriage.
Interestingly, the main source of miracles is currently connected to biology; miracle healing. If we add this observation to the sum total of this discussion; miracles have explanations, biological sciences have the most miracles because the underlying premises of biological sciences are most flawed.
Instead of looking themselves in the mirror and wonder how they went wrong, they make miracles taboo, so one cannot see the man behind the curtain. If you are a scientist and assume a miracle has an explanation, the areas of science with the most miracles, should be the areas of science with the worse conceptual framework. Miracles are observational flaws in theory.
In the Catholic Church to become a Saint one needs one or two confirmed miracles, most of which involve biology; miracle healing, which cannot be explained with the 60 year old obsolete theory, that is still being used, and which appears to resist any change. Miracles are useful in that they point out obsolescence in science. A miracle gets and keeps attention because these observation are very important to the species. It is food for thought and food for progress.
Look at the expensive response to the Corona Virus. If we had started to develop the cause and affect approach to life in 1960, instead of censoring it, so we could continue to roll dice, we would be far more advanced and cost effective. Miracles would then need to push these boundaries, which is good.God keeps us on our toes.