I think it's an interesting idea, bulky as you already obviously know but interesting none the less.
As far as dangerous... not to sure. I did some experiments with the orange and green match cases. I filled them up, lit 1, stuck it in and closed it, the rest ignited and melted the lid and that was it. This proves that with little air (way less than yours) the match will continue to burn, ignite other matches they will burn and create tremendous heat.
Now, yours may technically be 'illegal' as you have an ignition source, and a flammable/explosive inside. Is this considered by law a pipe bomb? Possibly. It may be worth investigating as it would be terrible to get arrested and go to jail for such a thing, also would be even worse if it did go off and make a small pop (most likely) and bring attention to yourself or set something on fire/etc.
Personally I think there are better ways to store matches, a lighter and cotton.