Yes, solar panels can be installed on a metal roof or a flat roof. Metal roofs are strong enough to easily support the weight of the solar panel array. Solar panels installed on flat roofs are typically mounted in frames that angle toward the sun.