The extreme power consumption of a RaspberryPI 4 is about 7W [1]. The battery is 144Wh. If battery can discharge 100% that's about 20 hours and about 10 hours for 50% discharge. This all assumes the CPU is pegged at 100% and it's not an older model which consumes less power.
I guess it could be possible.
[1] - https://www.pidramble.com/wiki/benchmarks/power-consumption