No adblocker built in, but Rethink DNS is a great app that will set up a local VPN and do firewall filtering and DNS filtering. There are other apps too and they should all work on any OS.
Personally I self host a VPN and pihole and stay connected to that