The last movie came out in 2021, and Daniel Craig stepped out of the iconic role at that time. Many actors have been rumored to be in the running for the role that will come with multiple movies spanning 10-15 years. At one point several women were rumored to be in the running, there doesn't seem to be a rule established by Ian Fleming that the 00s by men.
https://apnews.com/article/james-bond-casting-f6a66eda8e72c7f94b9e944c71dd7335
https://apnews.com/article/james-bond-casting-f6a66eda8e72c7f94b9e944c71dd7335