In a true sense, yes. You need to charge based on how much such skills are being valued in your country. You don't need to be charging much when your competitors from the same country are charging low. That's why most freelancers want to meet with the international clients to get more access to work and charge more. So while your country cannot determine how much you earn, your country determines how much you earn as a freelancer for a gig.