Yes - you can substitute shallots for onions in this recipe if you'd prefer an earthier, more subtle flavor.