When I think about it, I feel like I would since ctb'ing by gun rarely goes wrong and it seems pretty successful. People might not even think I died on purpose. They might think I panicked because of the shooter and ran the wrong way and that's how I died. So people wouldn't even know I was suicidal.
In real life, though, I think I would be way too scared to do that. My SI would be terrible. I wouldn't have the luxury of thinking about death for a while to get myself used to the idea of ctb- I would just have to run toward the shooter without thinking, and if I did that, I might regret it a few seconds before I die, when I'm in front of the shooter and can't change my mind anymore. One of my biggest fears about ctb is regretting it when it's too late to change my mind, which is why I don't want to do something that gives me time to regret it (ex. jumping off a bridge, hanging, etc.). So this situation would probably be a nightmare for me