Yes, it can if it is the right kind of music.
For work requiring focus and concentration, children should listen to instrumental music with no voices or lyrics. Such music works even better than ambient noise, such as a ceiling fan or hair dryer in the background.
If listeners become accustomed to hearing the same kind of music when learning, they respond repeatedly in the same way, much like Pavolov’s dogs in his famous experiments. Children learn to associate a particular stimulus—the instrumental music—to a particular behavior—focused attention.
On the other hand, for work requiring little thought but a great deal of energy, children should listen to music with a quick beat and energizing lyrics.
Why does music help? Listening to music releases a chemical called dopamine which turns on different parts of the brain known to be important for learning.