There's nothing technically stopping us from doing that even 10 years ago.
MTailor [0] is/was a company that, using your phone camera, could measure you for pants/shorts/shirts/etc... it was a YC company 2014 and also on Shark Tank.
I hope the AI hype brings back some of these sort of use cases that might have been ahead of their time.