Yes you can switch to the regular grid and yes you can sell back your power in most states ("net metering"), though that often just manifests as a credit for your night time electricity usage.
38 states, DC, and Puerto Rico allow this.
https://www.seia.org/initiatives/net-metering