Yes, but only if you have a driver's license B, AM, A1, or A2 that is valid in the country concerned.
In Spain:
Spanish licenses issued in European Union countries and the United Kingdom, as well as certain international licenses, are valid for driving in Spain.
If your national license is not accepted in Spain, you can opt for an “international driver's license” in order to drive with YEGO.
In France:
We accept driving licenses issued in the European Union and the United Kingdom (delivered before 2021), licenses written in French, and official translations. If your national license is not accepted in France, you can opt for an “international driving permit” to drive in YEGO.