Yes, players can be 40 years old or older in the NBA. While it's relatively uncommon for players to continue playing at such an advanced age, there have been instances of players competing in the NBA beyond the age of 40.