Not necessarily.
Nostr keys can be used generally for asymmetric encryption and related task.
The Nostr protocol is a client/server communication protocol, as well as a data format.
Regardless, images aren't being hosted "on Nostr", in any sense, when nostr.build is used.