Downloading music on iPhone & adding to my library?

Hi, is it possible to download music directly on my iPhone and have it appear, or add it, some how to my iTunes library directly on my iPhone? I am able to download the music, this much I do know, but I have to listen to the music via the app that I used to download, I'd like to be able to play the downloaded music via the native iPhone app. Pls advise. Thanks in advance.
Download it from your iTunes app. It's iTunes or...iTunes.
I dont believe that there is any way to do that.
I dont believe that there is any way to do that.

[cut]original reply deleted (because I totally misread the OP's question)[/cut]
....or on iTunes, choose transfer purchases.

Original thread: https://forums.imore.com/threads/downloading-music-on-iphone-adding-to-my-library.201840/