Actually, yes, there are electrical impulses in the brain, but "lights up like fireworks" is very metaphorically speaking.
But of course, playing the piano is a good way to give your brain a nice work out, especially for those of us who struggle. Actually, the more the struggle, the better the work out. 😉