dual binary on the same board

Hello, with an ATMega328p would it be possible to split the binary in two and upload the first permanently to the board so that for example the second could be edited (recompiled) and burnt in a second moment?

I would need this to provide a way to update the firmware on an unaccessible board through wireless communication (nrf24l001)

The Arduino bootloader works the way you describe, and if you know what you are doing, or are willing to spend the time to learn, you could get rid of the bootloader and use that memory space for the "protected" part of your program.

Essentially, you will be writing your own bootloader. You will need an ISP programmer.