This is not a good idea. Fish have exceptional hearing, more from their lateral line which detects minute vibrations. Many fish can even hunt extremely efficiently using only this hearing, so it is very acute.
I have been sitting in front of my tanks when a neighbour across the street closes their car door, and the fish in the tank all "jump" at the noise. I cannot stop neighbours from closing doors, but I can avoid playing any loud music close to the fish. These sorts of noises elicit the "predator" response in fish, so they can be very stressful. And stress is the direct cause of about 95% of all fish disease.