I've uploaded images directly to Lemmy and it works fine, though I don't know if there is resizing going on and I don't know about space limitations on the instance. One nice thing about using Lemmy on a desktop browser is you can copy and image to the clipboard and paste it in directly into the comment box and it inserts it effortlessly.
Good question because I was wondering this myself.