Back of the envelope calculations.
Assume:
* solar panel is about 1.5cm x 20cm = 0.003m^2
* Efficiency = 10%
* solar insulation is 1000W/m^2
Power = 0.3W
In 20 min you gain, 0.3x1/3=0.1Wh of energy.
Now, these random Sony headphones [1] have 30h life with a battery of 3.7V, 1200mAh [2]. This means they consume 3.7*1200m/30 = 0.148Wh per hour.
Seems like claim is roughly in the ballpark.
[1] https://www.amazon.ca/dp/B0863TXGM3 [2] https://www.amazon.ca/dp/B08YQX76B1