This guy built an built a like-new iPhone 6S completely from parts he bought at public China cell phone parts markets.
And guess what? The phone works!
Including tools and books, it cost him over $1000. Not to mention the cost of his time!
https://www.youtube.com/watch?v=-KucQDXnKws