Obviously not? Just because France doesn't buy natural gas themselves, they import so much electricity based on natural gas from its neighbors. So they are defacto dependent on natural gas as they can't supply electricity enough with nuclear and are thus in such much much worse energy political situation as prices will continue to surge.
This is what I found "In 2020, France exported a total of nearly 78 terawatt hours of electricity. Meanwhile, electricity imports to France amounted to nearly 35 terawatt hours in total that year."
nuclear is only useful for base load you cant shutdown a reactor in hours, thats why france imports a lot of gas (the same goes for germany, its the fastest way to scale energy, burn more gas, its even easier than with coal.)
France is by far the leader when it comes to the fraction of electricity produced by nuclear reactors; however it never ever could phase out fossil fuels, nor could or can do it at a realistic cost.