melody notes to white noise with same amplitude envelope

I have some mp3s of short melodies. I want to select some of the notes and convert to white noise with the same amplitude envelope. Is this possible?

There’s an experimental Nyquist plug-in available here: https://forum.audacityteam.org/t/envelope-follower-ducker/47090/1