Yes, ABRP already does this and is quite good at it. It also can plan for your expected weather since rain and wind also affect range along with the temperature and elevation. Its also got automated features to upload and include driving and charging metrics from the existing 1000's of users.