Picture in Picture on YouTube app
YouTube disables PIP unless you are a premium subscriber to YouTube.
There are 3rd party apps available which support it
How can I run a YouTube video in Picture in Picture mode on iOS?