Do you mean like including a binary file into a sketch? I've done it on Linux using inline assembler, I don't know if the same trick will work on Windows or Mac though.
extern char binfile[];
asm( "\n.section .text\n.globl binfile \n binfile : \n.incbin \"/home/user/full/path/to/sketch/file.bin\" \n");
void setup() {
Serial.begin(115200);
char tmp[1000];
for(int i=0;i<999;i++)tmp[i]=*(binfile+i);
tmp[999]=0;
Serial.println(tmp);
Serial.println((long)binfile,HEX);
}
void loop() {
}