you can do the bumpers, but the wheels would be a slight issue as the suspension geometry is slightly different - they will fit though
but in the end, it will still be a 530 masquerading as something its not. - I would suggest leave it as is, the E39 is a timeless design and looks great in any form. If you are aiming for the M5 look then atleast work an 8 cylinder model.