I began hand loading circa 1970, and in 1991 discovered the 10mm to be a hand loader's dream cartridge. I've loaded for Glocks since 1991 when I bought my Gen2 G20 and thousands of rounds later I've never had a problem. However I'm anal about protocols, procedures, cartridge dimension metrics, load development and safety rules.
I load both jacketed and my own cast bullets. Before the internet was revealed to me that meant thousands of cast bullets through my Glock's barrels. Worm can sighted, but many of us just simply don't believe the internet FUD (Fear, Uncertainty and Doubt) and hype that's spread about "lead" boolits in Glock barrels. As is the usual case, YMMV.
If all you ever load is jacketed bullets and you follow all the rules for responsible loading, you'll be fine. Just be sure and buy a few loading manuals since the process is far more than just picking a powder and charge weight. Lyman's 49th edition of their manual is excellent with respect to both load data (quantity and quality) and reference material.
To answer you question directly, no it's not necessary to go to and aftermarket barrel for hand loaded ammunition. They're marketed with various levels of hype but in the end, the Glock OEM barrel is strong and accurate. Pretty much all guns makers warn against using "reloaded" ammunition for liability reasons. Your response to that is your decision. Hundreds of thousands of hand loaders who develop ammunition can attest to the fact the process is a safe one so long as safety rules, published suggested charge weights and etc. are all followed.