(I replaced my last reply because it was short and uninformative since I typed it while multitasking).
Some third-party cables are able to give *JUST ENOUGH* power to keep the battery up while playing, if you don't have the specs maxed out in the oculus settings. Though there is battery degradation from this over time, if you're able to get this effect working. This can kind of get complex, but it's not just Oculus Quest 2 with this problem its many lithium batteries, lithium batteries are very powerful and efficient, but they're also very sensitive and nitpicky. So, they require a lot of care, and I don't think it's worth harming the lifespan of a device, especially as they were on a tight budget and Meta is likely going to stop replacing headsets through support on the Oculus Quest 2 for free.
Aside from those perfect cables that balance that perfectly we have to watch out for the ones that deliver so much power it really degrades that lithium battery, melts the port, and melts other components in the headset. There have been some minor face injuries from this as well, so you can imagine if it's getting that hot outside the headset, what it's like on the inside.
So absolutely possible, just not a great idea unless you're in a position where you can upgrade/replace your headset after it degrades.
From reading a lot of reddit posts, most users are only able to do this trick about a year, before their battery shows degradation and starts losing charge even while on those third-party cables, while also draining extra hard while not on them. So, if you're good with 4-6 hours, 7-8 hours on the lower spec settings of use. Then I say just go with a good old Syntech cable.
Of course, it's up to each user to do what they want; I just want to throw this out there to point out the maybe not obvious risk with the lithium batteries in the Quest 2.