Yes, the extract can be omitted if necessary. But unless dealing with an allergy, I always urge that a recipe be tried once as written, at least the first time. The almond extract is not the main flavor of the cake but simply enhances the other flavors.