@elifyalvac yes, but not all the music and not all the time. It's worthwhile to build your catalogue but everything published will have a life of its own. Also, there is more than 120 000 tracks published daily so there is no real need for more tracks.
However, publishing is a good practice as suggested also by others. It forces you to develop your musical ideas and that's a good muscle to train.
I also think it's fine to have some aces in the sleeve for a different publishing mode.