Yes, there is nothing wrong with running an engine up to its redline. One concern however is that the OP was downshifting, not running up through the gears. There is a chance that they were going faster than allowed in 3rd gear and the engine was over-revved. I'm not sure what the gearing is like in a mazda 3, maybe 105 in 3rd gear is ok, maybe its not?