Can I use a servo pin to use if for the Buzzer?

Hi!

im using a minicarrier adn cube pixhawk, and the buzzer connector is not ver friendly, and we doesnt have that kind of connector. So I was wonder is I can use noather pin from the carrier to make the buzzer work.

thanks!

NTF_BUZZ_PIN to 50
SERVO9_FUNCTION to -1
And connect to Aux 1?