Blown main computer for 07 Mini on 2007 Mini Cooper S

My main computer is blown and I don't have the money to buy a new one. Can I purchase one made for Mini and have it programmed to my car's specs? If so, any suggestions?

Asked by for the 2007 Mini Cooper S