Upholstery zippers

Our upholstery has gotten quite soiled from everyday use. I noticed that they have zippers on them. Is it okay to take the cushion covers off and wash them in the washing machine?   Cushions are made with zippers for ease of manufacture and to ensure proper fabric tension once stuffed with foam. Upholstered fabric is…