Not necessarily.
While many bed-in-a-box mattresses do come with a machine-washable cover that's easy to remove and put back on again, this isn't always the case.
That's why we always recommend purchasing a mattress protector.
Mattress protectors are thin layers of often waterproof material that safeguard your mattress against stains, spills, dirt, bacteria, and moisture.