I recommend trying to get a remote job that pays in dollars. It is much, much better to earn an American salary and live in Europe than to work locally. There are a million cultural things you’ll need to learn (good and bad) and I would only jump into that quagmire if you plan on living in France indefinitely.
Once you have that, try France (and Europe in general) as a digital nomad first. It’s pretty easy to jump from the Schengen Area to Morocco, the Balkans, Turkey, etc. for three months at a time. You could also look for digital nomad-centric visas, which are becoming a thing. I believe Portugal has one, other countries no doubt have options too.