Yes, if the only thing between it and the sun is transparent, but it won’t charge as well compared to being outside. You can compare the difference by looking at the input section of your power station’s LCD screen.