This is impractical in the US as things currently stand; most utilities have a permitting process for a grid tie (anything that backfeeds the grid) and smartmeters are capable of detecting and reporting any backfeed.
Mostly the technical aspects are not a problem (most modern meters are two-way); you'd just need a policy like the one in Germany allowing de minimis backfeed.