I'm sure you can use the native triggers for something as simple as that, yes.
You can use an if/else condition based on whether %Trigger% contains 'tapped' or 'pressed'.
You can set the tap detection time using the command line preferences:
https://wiki.keyboardmaestro.com/manual/Preferences#Hot_Key_Triggers