iCloud Photos is not a cloud storage per se; it is a syncing tool. Therefore, it is impossible to upload photos on iCloud Photos without storing them on Mac. Alternatively, you can go to www.icloud.com and upload photos to iCloud Drive.