I think it's possible. I don't have it to hand right now to say for sure. If your PC has Bluetooth, you should be able to print without any problems. I'm not sure about cable, but it wouldn't make sense to me if it didn't work.
I recommend it mainly for the ability to print such photos to decorate the home or for activities with children, such as a yearbook.
The print quality may not be as good as a conventional printer, but it can be very practical.
As far as I know, it is only possible from mobile phones and tablets because you need an app. Unfortunately, I don't know of any small printer that can do this. I think that's probably because it's designed for travelling. You can actually send any photo from your PC to your mobile and then print it out on the small printer.