Google Tango is attempting to accomplish it by using the camera sensor to measure positional changes.[1] They showed it off at Google I/O, but it was a bit eclipsed by Cardboard (probably to the chagrin of the Tango team).
Project Tango doesn't just use a camera to track position, it uses structured light - like the first kinect - with an infrared projector and camera to build up a 3D model of the environment.
[1] https://www.google.com/atap/projecttango/