You're not going to get bullseye accuracy at 50yards with a Glock no matter what barrel you put in it, so you shouldn't upgrade it for the same reasons that you would a rifle. There are, however, other reasons to upgrade the barrel. You can add a threaded barrel for mounting a suppressor, change the caliber (.460 rowland anyone?), but also achieve things like better case support on .40 and 10mm Glocks, or even on 9mm if you want to run super, super hot reloads.
I've done all three of these and been very pleased with the results. I can't say, however, that any of them actually improved the accuracy of the gun to a point where I really noticed it.
OP, no, unless for the reasons stated above.
This is coming from a guy shooting USPSA and three gun, with a stock glock barrel and coated lead bullets.