No, mirrorless cameras do not work without a lens.
A lens is an essential component of any camera, including mirrorless cameras. The lens is responsible for focusing light onto the camera's sensor, which captures the image. Without a lens, the camera would not be able to see or capture any image.
Mirrorless cameras are designed to work with interchangeable lenses, giving photographers more flexibility and control over their images. While there are some exceptions, most mirrorless cameras require a lens to function properly.
Some mirrorless cameras may have a built-in lens, but these are still essential components of the camera system. The built-in lens cannot be removed or replaced, but it serves the same function as any other lens.
If you're looking to purchase a mirrorless camera, be sure to consider the lens options available for that specific model. There are many different lenses on the market, each with its own unique characteristics and capabilities.