See for example Airturn bluetooth pedals:
https://www.airturn.com/products/categories/bluetooth-pedals
I haven’t tested it myself, but they claim you can „Create commands for almost any app that responds to keystrokes, macros, mouse clicks, or MIDI with the free AirTurn Manager.“
Slightly complicated but also possible:
https://forums.openlp.org/discussion/5337/control-openlp-with-midi-signals
Then you can use any MIDI controler you like.