Can i put an iphone 6 camera on an iphone 6s?

I have an iphone 6s but when i replaced the screen the front face camera stopped working. I also have an iphone 6, so could i take the front face camera off it and switch it onto the iphone 6s? Or does anyone know what could have made the 6s front camera stop working?

No