No. A marker needs to be non-consumable, and close to the structure that is to be located.
Point taken.
Some underwater cameras use a calibrated compressible marker in the event of going under the max certified operating depth for warranty reasons. A simple dye marker bottle with a similar device (frangible in this case) on it's cap, attached to the boxes themselves should do the trick.
If we wanted to spend some good money, it could be possible to use some of the old missile technology, and fire/unlatch a very small and conspicuous boey attached to a thin and long wire from a small box on the exterior part of the plane. It could be used as the beacon antenna . Conditions to deploy it: depth and lack of movement.
There is already a similar system used for submarines today. Example
here.