Can you setup power stations to only charge on solar and plug them into AC but they only use AC once the battery is flat? Most things I see talk about charging on solar+AC but I wouldn't want it charging at all from the grid as that is pointless.
This should bypass any regulations as energy only goes one direction and you are not feeding anything back. But having the AC there allows it to keep working when the battery runs flat.