Yes, whenever there’s a legal way to play both numbers. If only one of them can be played, you play that one, and if either could be played but not both, you must play the larger1. The 1970 laws of the International Backgammon Association say the same2.
Why people argue about it
It comes up when the only full play breaks a point you wanted to keep, and you’d rather move one checker and stop. Asked about a parent who let their kid play just the 2 of a 6-2, rules threads answer the same way: you have to consider the whole roll3.
Trouble starts when the only full play breaks a point you’d rather hold. Agree whether the whole roll must be used, and who picks the number when only one die fits. Pick your die hands that choice to the player, with no priority for the higher die. One-die turn gives each player one roll a game where they move one number and give up the other. We’d teach kids with One-die turn and drop it once they can see a whole roll.
Play it a different way? Post it so others can vote on it.