Though BMW never made a proper E36 M3 Wagon, this example currently up for auction is as close as one could get! It's true.
It enjoyed a few eras of popularity within various niches of the car scene as it got older, and for a while there an E36 was a super-cheap ticket to the world of sporty rear-drive German cars.