I guess you could glue it under your shoe or sole of your foot instead...!
But joke aside, I think it may be interersting to fix the iPhone-accelerometer to maybe the bass chassis of your accordeon and then - by tilting the bellows up/down - send some controller to the e-accordion (or external sound module). Thanks
@KeysFla for this brilliant yet simple idea!