In financial terms, letting anyone sell electricity to the "shady power company" at the same price they buy it at is only possible as a government-mandated subsidy paid by all customers, intended to promote clean energy. It effectively makes the grid your free, unlimited, zero-loss battery.
If you want to sell it to your neighbour at the same price they and you pay to have the grid wiggle your electrons, there's no difference. If you want, for unfathomable reason, to set a different price, you can just walk over and hand them some money whenever you feel like it. But currently, there are no circumstances under which it would make sense to not sell as much as you can to the power company: if you're producing at costs above grid prices (still likely in most locations), your neighbour could always get his power cheaper from the grid. If you're producing below grid prices, selling as much as possible at the subsidised rates is your best choice.