Yes you can use commands in Revit even though it doesn't have the command line.
I use similar keyboard shortcuts in AutoCAD and Revit so I don't get confused.
To setup your keyboard shortcuts, go to File pulldown menu then Options.
Under options > User Interface, there is a keyboard Shortcuts in the Right Panel. Click "Customized" and input your desired shortcuts
Off-topic :
A bit off-topic but might interest you. In AutoCAD we use AutoLISP to automate our task. In Revit there;s this thing called Dynamo, a visual programming software... for me, it is easier to use than AutoLisp..