Sounds like a neat way to use Youtube without being tracked by Google analytics. I guess that's the next project I will try to run on my Raspberry Pi :)
YouTube tracks you regardless, if I understand correctly. For instance, if you search on DuckDuckGo and there's a YouTube video in the results, you can play it right there. However, DuckDuckGo warns you that you'll be tracked.