Thats a very good point
my idea is based on the assumption, that you can mimic the default crouch hotkey.
Like it is possible for the sheathe/unsheath hotkey with the function: "TogglePlayerWield()".
I spend the last hour looking through some api documentation but i couldnt find such a function so far.
The source code i only understood partly. Crouch is a special movement with the index 2, but didnt find a function to execute or toggle it....