Bluetooth app to pass signal from 1 device to another?

I have a Voice Amplifier and an earpiece that both have bluetooth but wont connect to each other.

I can however connect both devices to my phone.

Is there an app out there that will let my phone be the middle man and pass the microphone input from the earpiece to the the voice amplifier?

The bluetooth stack in your phone probably can’t handle more than one audio device connected at the same time.

What is a “voice amplifier”, is it like a hearing aid?

With a Linux laptop you could probably have both connected, and then patch audio between them.

Try something of this …
Android should be able to handle two bluetooth devices and should switch to the mic on the earpiece instead of the phone. And treat your “Voice Amplifier” like a bluetooth speaker.