Transmissions are a little different - they are rated by torque, not HP. I know that's a can of worms for some folks, but that's the truth.
MazdaTrix used to have a chart ranking the Mazda RX-7's transmissions. The FB (First Gen RX7) shares a lot of parts, including bearings, bushings and so forth, with the B-series 5-speed. So, you might get a clue there - the FB's transmission can handle quite a bit, but the FC can handle a bit more, and the FD, even more (I think). Again, there used to be a chart w/ all of this.
I also saw a video of a guy w/ a turbo-charged B-series (our engine) and very likely a stock transmission, making 350 wheel horsepower. There was nothing about torque numbers, but I bet it wasn't far off the HP figures. That was a single YouTube short, and I am trying to find it as I'm typing this response to you.
If it were me, I would try to find a transmission that I know could handle the torque numbers you're likely to hit w/ your setup. There's a lot of candidates, including automatics that can definitely keep you safe, and help out a lot in drag racing due to faster shifting and better launches (assuming this is what you're after since the b-series don't handle like Miatas).
However, part of me is rooting you on, just to see what you're able to do w/ the stock one....