Yes, for instance on the Enphase Energy system they offer CT sensors, one for the PV production side and one for the consumption side (loads). You use the power you make first then the excess power can charge a battery back-up or goes back to the grid. The system does the math and you see where your PV power is distributed. See attached stats from today. The blue is PV production and the orange is total power consumption. The 19.7kwh is the total Exported to the grid. We also imported from the grid 16.7kwh at night, so the net sum is 3.0kwh exported to the grid.
Sorry for the long answer, I hope this helps...