Yes is the answer to your question providing you are prepared to let it out,
when not using it yourselves.
We have twice bought apartments in the Nice area and used property managers
to rent them out and turn them over for us. Both properties have generated enough income for us to
pay all our taxes, incidentals etc and holiday expenditures. Our latest property is in Cagnes-sur -Mer.
We only use it in April/May/June and Sept/Oct/November and let the renters have it
in the high season and over the Christmas period (It's right next to the Hippodrome so used by horse
owners during the winter racing season.)
This time we bought an easy-to-maintain, minimalist. modern, two-bed property with a communal pool and
landscaped gardens. It's been brilliant so far (three years) and as long as you don't mind the odd
breakage here or there it works very well.
I would imagine an owning an older , rural property would be a different kettle of fish.