haha that sounds like a horrible idea! an e36 m3 in somewhat decent condition will still cost you atleast 9 grand. that thing is gonna blow up the second you start driving.
if you are set on a bmw, and you can spend 6000. id take alot more time researching them and make sure you find the right one. e39's are great, but not as good as others for reliability. if you want a 5 series, get an e28 535, or an e34. personally id go with a e28 cause they look awesome and are fun as hell to drive.
if you want a 3 series, dont go with an e36. go with an e30 and you will be sooooo happy you did, ive driven 3 e30's and 2 e36's and the e36 felt like crap compared to the e30's e30's are known around the world for being some of the best track cars for the money, they have better feel, handling, and just as good of acceleration as the newer bmw's. and if you want AWD you can get an e30 325ix, which destroys most subaru's and audi's in the snow.
e30's are known for going over 300,000 miles and still being reliable, but id still try to find the lowest mileage one you can because its gonna drive much better and just be alot more problem free. and for 6 grand you can find some AMAZING e30's e28 5 series, or e34's.
dont let people tell you that bmw's are expensive to maintain, they can be dirt cheap if you get the right one. if you need help pm me.