Yes and no.
Nostr clients relies on media servers and these can transcode (optimize) your video while you upload, yet it cannot transcode on the fly when streaming, so it cannot optimize to different video sizes.
The challenge of replacing YouTube is a great one, it needs some new innovation for that. So you can upload videos, but usually limited how large files you can upload and user's might spend a lot more bandwidth than is really needed.