Is there a way that I can include... any binary data I want into an executable?

For instance say I want to save an executable... inside my executable and be able to save it when prompted

Or for another example, save a jpegs data in the binary, and be able to load it from inside the executable for display

etc...