It's not up to the player, it's up to the DM
Players describe what they want to do, but it's the DM who decides what, if any, roll is necessary. The type of check, whether it's a DC or opposing, and what the results will be is entirely up to the DM.
The introduction in the Basic Rules covers this:
The DM Describes the environment
...
The players describe what they want to do...
The DM narrates the results of the adventurers’ actions.
The section on Ability Checks gives some more detail(my emphasis):
For every ability check, the DM decides which of the six abilities is relevant to the task at hand and the difficulty of the task, represented by a Difficulty Class.
But your table may be different
While the rules state to operate in this manner, it is not uncommon at tables for players to ask for the roll. This has the added effect of prompting for rolls the player isn't proficient in to get them out of their comfort zone. If you always ask for rolls in which your proficient, then you are greatly reducing your overall challenge.
Whether or not that's legitimate will be up to your DM and your table. But ultimately, unless that's how your table plays we can't really answer that question for you as a player.