That's exactly how I have it set up. Solar panels connect to charge controllers (el-cheapo aliexpress units) which charge my 7s lithium ion battery. The battery is currently 140p salvaged cells and about 6.3 kwhr, with enough cells tested and sorted to bring me up to 12ish kwhr and 240p. If i ran a higher battery voltage (above about 60 volts or 16s) i would need a different class of charge controller, different bms, etc. keeping things at 28 volts keeps it simple, as charge controllers, ac chargers, inverters, battery managers, etc. are all easy to find and inexpensive. I need to boost the voltage because this is the inverter i have, and I don't plan on buying more. I tried the enphase m190, but had bad luck with a pile of used units. they need at least 32 volts to start up, but will run on 22 - they're just painfully slow to boot and ramp up to full power.
I currently have a pair of CTs on the incoming power lines, and watch the current waveforms on the scope. As long as A-B=0, my non-net-metering power meter reads zero. I plan on using an arduino to control the limiter, but haven't gotten to that part yet. I suppose the ultimate goal is to produce something that can take an off the shelf, surplus, used, etc grid tie inverter and make it usable for someone else in my situation.