Whether this is good or not mainly varies from person to person. For example, some people are auditory learners and others are visual learners. I am auditory, and I have to listen to music before I can meditate. It also depends on the type of songs. For example, some children listen to classical music or gentle and light music. It can help them to calm down and do their homework without getting tired easily. When some children listen to pop and high-pitched songs, they will be distracted and unable to concentrate. Naturally, you can't write high-quality homework.
Even if children listen to classical music, some children can't calm down (a few) because each child has a different personality and doesn't like listening to such songs. If you listen to such songs, even the best music will become noise, which will make children more irritable and impetuous.
It is best to listen to soothing songs.