It is not recommended. The process requires both licensed electrical & roofing skills to ensure the solar power system is safe & optimally designed for 25+ years of production.
You will also not be able to apply for an on-grid connection as this requires certified & approved contractors & consultants to assist you with.