Any reasonable grid company should not only not prohibit this, but welcome it and pay for energy people feed back into it. I can call mine any day and have a bi-directional meter put in so I can charge for it, should I ever choose to install solar panels.