Is it possible to change keyboard input inGame

So im working on my menus and im wondering if its possible to change the keyboard input ingame or is it only possible in the launcher, tried looking through other answers but they were from years back and denying that such a thing was possible, so is it still not possible?

Rather than changing the input system itself which can get complicated, you can create variables that hold key values that you can change later. Take the following example:

// Inside Update
if (Input.KeyPressed(KeyCode.Z)) {
    // Attack
}

You can instead store the key code in a variable that you can change later:

// Where you declare variables
public KeyCode attackKey = KeyCode.z; // You can change this at any time

// Inside Update()
if (Input.KeyPressed(attackKey)) {
    // Attack
}

This effectively lets you change around key settings.