Your neighbour opened an ice cream shop and needs a lot of electricity. Can you sell the energy you produce to your neighbour ?

No, feeding energy into the network always requires some sort of agreement with the grid manager.

Yes, I can sell the electric energy produced by my solar panels to my neighbour provided that he will use it all.