Yes, you can like this:
name: $(Build.DefinitionName)-$(Build.BuildId) appendCommitMessageToRunName: false
This way the name of the run is the pipeline name followed by a dash (-) and then the build Id.