Sequence Transform Selection Shortcut to a Function (UI Commands)

Is it possible to create UI Command as a function to call in Blueprint?

This is the code from the UI Command

SequencerCommands.cpp
UI_COMMAND( ToggleShowTransformBox, “Transform Selection…”, “”, EUserInterfaceActionType::Button, FInputChord(EModifierKey::Control, EKeys::M));

UFUNCTION(BlueprintCallable, Category = “Editor”)
static void TransformSelection(const FName Name);