Can I swap the camera with iPhone 5s
My camera on my iPhone 5 is scratched, and I was wondering if the camera on the iPhone 5s work with my iPhone5?
No, they are definitely not interchangeable.
Are you sure the camera itself is scratched? May be it is the glass lens (part of the back cover of your iPhone) which is scratched.
This one could be changed, but it is a delicate process, that requires removing your board (using this guide) out of the iPhone 5 case to reach the lens. Then you can push the lens in using a plastic tool and replace it.