Implement Spectator mode key F3+ N in Minecraft?

me
4

I would like to put the Spectaotr mode Key F3+ N on another key in Minecraft Java Edition. Would that be possible in any way?

Gu

Maybe with other programs.

me

Do you also know such a program?

Gu

Yes, if you have a keyboard with a program or with assignable keys then yes.

me

OK thank you