You could kill system_server after mounting an image to /system so android starts to re-initialize.
That would be enough to replace android-framework. Would be great if you could try that, too.
Please care that your system-image needs to be a 1:1 copy of real system-partitions to work