Can, but they don't, because app developers are just as lazy and don't waste time to hide their trackers
YouTube used to be separate domains for ads and then it got merged together so that you can’t block the ads network wide without blocking YouTube videos.