From a quick search, the F10 M5 centerbore is 72.5mm
Assuming the F10 M5 wheels are hubcentric (pretty good bet) then they will not even fit onto our hubs without first boring them out to an E39 friendly 74.1mm
To me, this is too much work however if you decide to do it, post some pics when you're done!