If it is structurally sound then of course. Really there is no real limit on how far you can place your inverter from your panels or your inverter from your home. However, the general rule is that the further apart the components the further the power has to travel, meaning less electricity can actually make it to your home and appliances. If you have to choose between the inverter being closer to the panels or the meter box it is wise to choose the meter box. This is because the greater the distance, the greater the voltage drop. The power from the panels are sitting at around 300-600V DC while the power from your inverter is at 240V AC. When positioning solar panels your installer will consider optimum tilt, potential shade issues, and all of the usual factors taken into consideration when placing panels on the roof of your home.