Yes! You can leave them out. When I make this chowder for my husband, I leave those out because he can't have onions and peppers. So I use onion powder instead of onions.