It is. Would something like this work in this case:
Key | Enum
could work even better - be more descriptive.
Hard to tell where the input is coming from here but the Enhanced Input system handles it already.
Alternatively, you can have a scalar modify Action Values
to evoke specific behaviours: