Is it possible to play a sound into the microphone at any given time after the websites code already called getUserMedia function?

Is it possible to play a sound into the mic at any given time after the websites code already called the getMediaDevices function?
I am using javascript and puppeteer.

With Flimm’s answer (Possible to Get Puppeteer Audio Feed and/or Input Audio Directly to Puppeteer?) I can play the sound only once, at the start, where the websites code calls the getMediaDevices function.