No, the sliced almonds are entirely optional. But, they do add a nice crunch to the green beans. If you don't have almonds but want the added crunch, you could substitute a different type of chopped nut such as pistachio or pine nut.