Yes, frozen spinach will be fine here. Defrost it before adding it to the dish, and try to remove excess water from it by squeezing it in a paper towel.