Can I use an older iPad to charge an iPhone by connecting these dongles together?

Solution 1:

No, those devices don't work that way. You can only do that with the newer USB-C devices.