I'm making my own cleaner now, as many others do. If you study the patents for PBW and understand what each component is there for, it's simple, and automatic dishwasher detergent in fact plays a role, but it is not a substitute. The primary ingredients are sodium percarbonate (found in Oxiclean) and sodium metasilicate. You can buy these in bulk. A small amount of certain unscented, uncolored, automatic dishwasher detergents (you need to know their composition) is mixed in to provide key components like gelling agents, chelators, and surfactants. You can easily make a product that outperforms or at least matches the commercial product at a tiny fraction of the cost. But a single component of the whole, like Oxiclean or dishwashing detergent, will not be a viable substitute on its own.
I agree with Denny that if you had to choose, straight Oxiclean would be better; but understand that it will neither clean nor rinse off as well as the complete formula.