Yes, you can. Just right-click on the Discord profile you want to block and select the Block option from the menu.