You'd be understood, but that's just rather not what a Polish person would say. Well, maybe a child. If you're in pain because of pain in some body part, we consider it something that 'happens to you'. And well, that's just the construction we use.
I googled "Mój ząb boli" and I got five results. I actually expected more.