Stinger length and diameter are all part of the pipe design calculations. Shortening the stinger will not add power.
But it will make the bike louder, and to a lot of people louder = faster.
Even un-silenced out of frame drag pipes have long stinger pipes on them.
I dont see that it will hurt the motor, but it may get you kicked out of some riding areas