Is it possible to add LiDAR scanning function to the app?

Some Android phones and iPhones have LiDAR built in. Will it be possible to add LiDAR object scanning feature to those phones that have this feature?

P. S. Sorry if I misunderstood or wrote something. I use a translator to write this question.