This is already in use in the micro-4/3rds cameras, which feature interchangeable lenses, but still tight integration between the lens and the camera. There are even firmware updates for the lens.
http://m43photo.blogspot.de/2010/09/lumix-20mm-distortion-co...