Yes, you can play videos in the background on YouTube by using the picture-in-picture mode in Android Oreo and above, or by using a third-party app like Floating Tube.