I'm almost certain the answer is "no". To get this information you'd need LIDAR data or something similar, and there is no global dataset of LIDAR data at anything like the resolution necessary to accurately determine the height of an individual building roof.
Many of the web-mapping services use terrain and building elevation models internally to calculate their "3d" view modes, but I don't think this data is ever exposed, and even if it were I think it's only suitable for display purposes rather than for performing any calculations.