Out of the box it can play audio in the background, and now that extensions are available you can block ads as well. You don’t really need constantly updating 3rd party clients or questionable firewalls anymore if you just want usable youtube on a phone.
You could use PiP and Ublock Origins on Firefox Mobile for a long time now.