No, they're separate attributes of a shampoo bar. Sulfate-free refers to the specific cleansing agent formula, avoiding harsher sulfate surfactants, while plastic-free refers to the packaging format itself, a solid bar with no bottle, a separate consideration from the actual cleanser inside.
Most modern shampoo bars are formulated to perform comparably, though the initial transition period can feel different since bars often produce less lather and some people experience a temporary adjustment period as hair recalibrates.
This is more common with true soap-based bars, which can react with hard water minerals to leave a film, while modern syndet (synthetic detergent) bars are formulated to avoid that issue more reliably.
In a well-draining dish that allows it to dry out between uses, since a shampoo bar sitting in standing water breaks down and turns mushy much faster than one allowed to air dry.
Anyone with very hard water should look specifically for a syndet-based bar rather than a true soap bar, given the residue issue hard water can cause with traditional soap formulas.