You can buy threaded inserts (see video below) but that means some other piece of hardware to have to stock in your shop. [PeterM13] had a different idea: Cut a piece of threaded stock ...
or use a threaded insert. [Stefan] ran some tests to see how each of those methods held up to real use. (YouTube, embedded below.) He used fifty test parts to generate data for comparison.