Yes, you can use brandy in place of sherry. Just make sure to choose an unflavored brandy so as not to disrupt the recipe’s flavors, and cook the dish for longer to cook off the extra alcohol.