Is it safe to exercise outside during hot weather amid heatwave?

Despite parts of Australia experiencing the worst heatwave conditions since the 2019-20 Black Summer, people can still be spotted braving the hot weather to go for a run. Should they be doing this?