Take a look at the position of your home on its lot and particularly your roof. Ask the following questions:
Is there any southern exposure? Orienting solar modules in a southerly direction, maximizes the effectiveness of how much energy you will harvest over time. East and West exposures are ok, but will produce slightly less.
Is the exposure free of trees or buildings or other obstructions that could shade the panels or drop debris on them? Shading on any area of photovoltaic modules will reduce efficiency. There are also micro inverters and other optimizers to eliminate this situation.
What is the pitch, area and material of your roof ?
Most roofs, from flat to 60-degrees can accommodate photovoltaic panels. Ground mounted systems work well enough with unobstructed area.