Google intentinally does not support ios PIP mode. If you want that, use DESKTOP WEB version of youtube (in mobile web version PIP is blocked as well)
Yugo198 about YouTube - Watch, Upload and Share Videos, v12.49