Yes, I can confirm this... I'm using a tankstick, and it works fine with mGalaxy.
However, if you mean, do the default tankstick keys match the default mGalaxy (or default MAME) keys, then the answer is no. Some of the keys match, but most (like the joystick) don't. I had to map mGalaxy to my tankstick keys, and I had to map MAME to my tankstick keys. I'm considering just programming the tankstick to match them but different versions of MAME don't even agree on their defaults.