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
2014 X3 35i Space Grey/Chestnut/Fineline Wave