Any type of mattress can be fiberglass-free. It really depends on the company and their standard when looking for a fiberglass-free bed.
Still, memory foam mattresses commonly contain fiberglass whereas latex mattresses and eco-friendly mattresses are often fiberglass-free. Memory foam beds usually contain man-made materials while latex beds contain mostly natural materials. Still, any type of bed may or may not contain fiberglass.