While Bannerlord doesn't provide a command console for entering codes, there's a dev console that can be activated by using mods.
Ctrl + Shift + F3: Knocks out your horse (if you're sitting on it).Ctrl + F2: Knocks out one of your own soldiers.Ctrl + Shift + H: Heals your horse to full health.Ctrl + Alt + F4: Knocks out entire enemy army.Ctrl + F4: In combat, knocks out an enemy.