Yes, the entire scallion is edible. The green leaves have a mild flavor and are generally used as garnish.  The white part has a sharper taste and is best cooked.