Foam inserts and gutter guards can prevent build up of leaves and other debris building up in the gutters. The problem is that they can build up debris over time and become blocked which leads to the same issue as not having them installed.
The best practice, especially with a green roof is to clear your gutters at least once or twice a year to prevent damage occurring.