Technically, yes. But there are factors to take into consideration.
Off-grid refers to solar systems that have no connection to the utility grid. An off-grid home has no outside power source; only the power that produced on site is available. Depending upon several factors, including your energy consumption, off-grid homes will nearly always need battery storage so that energy is available at night when it is dark and during stormy days when solar generates little to no energy.
Some power companies have regulations that prohibit one from going completely off-grid, so that is a factor you would need to research for your location.