I had something similar on n53 engined 530i a few months back and it turned out to be the CCV. As per other suggestion, start with the simple in terms of intake air leaks in bellows, etc.