This has been done on thousands of buildings around the world, my employer in Denver already has gardens on two levels of our corporate building. Don't worry you see there is something called engineering, people that work in this field are called engineers who are really, really, really good at math and will make sure to keep "those plants from falling through the roof".