Everyone knows that buying a luxury car is a stupid investment, but if it makes you happy just go for it.
Only thing I would consider is your financial situation, my view on buying anything is like this
Small purchases - Do I make that much per day? Yes - Go for it. No - Grind more.
Larger purchases - Do I make that much per month/two months? Yes - Go for it. No - you know what to do..
Also make sure to consider other things like maintenance costs, as well as insurance which can be 10-20% cost of the car PER YEAR and even more depending on the country and the insurance type you are getting. A good thing to consider when getting insurance is the neighbourhood you live in, and the chances that your car might be robbed