This is still a possibility in Greece, however it is officially forbidden. As long as you behave normally, you will not be bothered. If you do not, you will be sent away !
Sometimes you will be sent away, without any clear reason; sometimes because of complaints by the local inhabitants.
Keep quiet to the authorities, and they will listen to you. Suggest to leave tomorrow morning.
There are still a lot of official places to sleep in your camper alongside the roads. Some of them even have all facilities for campers.
On most beaches people often spend the night in their campers.