Absolutely!Everything that a good gaming Computer includes will be helpful for an excellent Music production Computer, excluding the visual card. Yup, you do not require much responsibility graphic card for your music manufacturing, even if you make songs for movies!
a word-of guidance though, if you can afford go for an i7 rather than an i5! Unlike a gaming rig, which utilizes the graphic card for all the juice, a music manufacturing utilizes the cpu for all its liquid! All the test libraries, plugins and vst tools rely on the cpu for smooth functioning! Therefore get the best cpu you can afford. A gaming Computer could make do with an i5 and a wonderful Graphic Card, songs production may benefit much more with an awesome CPU!
Also ensure you have another hard drive(minimal 7200 rpm) for your OS, one for all your projects and one exterior drive for your test libraries, loops, tools, etc. It's not an absolute requirement, but having individual hard drives will certainly assist in system performance. A slow hard drive will bogg down overall performance no matter what quickly your processor is.
Get 2 identical Ram sticks of your choice. The newest Skylake processors support upto 2400 mhz of ram speed at stock speeds. So essentially get the quickest ram that you could afford.
Overclocking : most Gaming rigs tend to be overclocked! It is a privilege for PC proprietors. Get a k form of Intel processor, should you want to overclock. Though overclocking is certainly not a total requisite, therefore it is all around option. Goodluck!