Yes! Shallots have a milder flavor than most onions, and they're made even milder in the vinaigrette (the acids mellow the intensity) but that said, feel free to substitute a thinly sliced sweet red onion instead!