Yes, land can be converted back to agricultural use when panels are removed from a field.  Solar land leases generally run for 20 to 30 years. During that time the soil has an opportunity to rest and increase its biodiversity.