I’ve seen 1 or 2 2018/2019 M40i ex-demos but you might not have any near you, it’s very hit or miss but might be a way of getting the best possible deal. Have a search here for recent 2018 and 2019 deals and use them as a benchmark.
You’ll pay a significant premium for those custom options unfortunately if you go that route, but it depends how much you value and ultimately you need to be happy with the vehicle you choose.
This is the only decent 2019 X5 deal I’ve seen: 2019 X5 66.5 MSRP/59.4 sale price It’ll be a lot easier to negotiate on older stock M40i than a 2019 X5.