Yes. Modulate the music signal into the carrier wave, and then control the MOS tube or thyristor to turn the fan on and off, and then you can make simple music sounds. This kind of gameplay is often played in Tesla coils, using arcs to play music. In programming, controlling the buzzer to play music is also a familiar teaching course.