Yes, I have a browser plugin to open youtube links in mpv, but it's been unusable recently with constant buffering. I dont even fetch them at best quality.
In ~/.config/mpv/mpv.conf, add the following line, preferably near the top:
script-opts-add=ytdl_hook-ytdl_path=yt-dlp
That should hopefully solve your issue.