That is already possible, for example Agisoft PhotoScan has functionality for it....