For many people, yes, with three conditions: no lyrics, low volume, and a steady sound.
Try one 25-minute session with music and one without. Which one got more done? People differ, so trust what you see.
More in what makes good music for studying.
Try a 25-minute study sessionFor many people, yes, if the music has no lyrics, is played quietly, and stays steady. People differ, so try a session with and without it.
Instrumental music with no lyrics and a steady tempo, like lo-fi or soft classical, is a common pick.