I would advise on running power from 12V battery if possible. BMW is known for so sensitive ghost protocols that look for any unusual conditions.
On the other hand if you looking for hardware to be powered on only when you have EV on, your idea is ok.