In a way, yes. If a certain number is repeatedly calling you, you can block that number using your phone carrier's website. It is usually a simple process and that number will never be able to contact you again.
If you add your number to the National Do Not Call List, it will be illegal for Telemarketers to call your house. As well as you can call your state Do Not Call List.