I don't think so, inherently. To me, the more ways a person can choose to play a game, the better it is. I back this up with evidence from games like Minecraft, Dungeons & Dragons, and Magic the Gathering, all of which have been massively successful for many years and decades; a success I think is very much (though not exclusively) attributable to the way they all encourage differing play styles for each person to play the way they enjoy the most.
Adding scores to level-based games doesn't encourage a certain kind of gameplay; in fact, it does the opposite, allowing the player to decide whether they want their goal to be "levels cleared" or "high score" and work towards that.