Storing volatile data in Flash Memory

So this is not possible?

My sketch is currently able to recieve data from matlab via the Serial.readBytes() command. I currently only read 1kB at a time, then send it to a DAC.

I'm just looking to send all the data at once and store it in program memory then access and change it while my sketch is still running.