Yes, the answer is. Substitute the higher amperage circuit breaker if the wiring is rated higher. As long as you follow other rules such as matching the breaker to the equipment and the receptacle, this is true. This doesn't have anything to do with the distance.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.