Yes, it’s perfectly legal to use an ad blocker. However, it’s worth mentioning that ads support free internet. All the free services we’re used to, like social media apps and search engines, generally make money through ads. That’s why some sites will block you from accessing their content if they detect the use of an ad blocker.