Fred,
I would have two concerns. First, the spring is also a latch. But, latches should be hard and springs should be bendy (soft). I suspect that the hook part of the spring will wear if you use the box a lot. Second, the bottom end of the latch on the box lid will want to be shaped like a wedge so it pushes the spring over as you close the box.
Certainly there are lot's of examples of a box latch where the spring acts on a latch that pivots on a screw to achieve the same operation as your design. On my last riflegun with a brass box I had a similar design but the push rod ended in a small cavity cut into the back surface of the butt into which the pivoting latch and spring were tucked. The latch from the box penetrated the wood at the back edge of the butt to engage the moving latch. It all was covered by the butt-plate.
There are lot's of ways to skin that cat!
Best Regards,
John Cholin