Can Broadlink relay IR commands to tasks?

Noob question here.
I got a broadlink RM Pro that I use to control my dumb IR devices.
Could I use any random IR remote controller and basically reprogram it by having Broadlink learn the buttons from the remote and perform any action within HA?

Like this one: