Installing solar panels on a metal roof is fine. They give solar panels a strong and long-lasting base, and certain kinds of metal roofs can even increase the effectiveness of solar panel systems.