Theoretically the module(s) would just need to be recoded, probably DXC, ABS, 4X4 maybe transmission, I doubt highly if there is any technical difference. It would be similar to the coding the E9x do for the Alpina trans flash. Unfortunately no one that I know of has figured out how to flash F series BMW's at home yet, but once figured out it would be a matter of reading what the software level is on the modules in an M-sport and non msport and see which ones vary.
2008 335i Vert Montego/Saddle/Grey Poplar
2011 Audi S4 Deep See Blue/Black/Stainless
2014 X3 35i M-Sport Space Grey/Chestnut/Fineline Wave