I wouldn't were it my gun.
A 9mm buffer does two things differently then a 5.56 buffer. One, as I mentioned, is it limits the bolt cattier's travel rearward so that the carrier isn't moving as fast when it hits the bolt catch on after the last round. Second, they tend to be heavier. 9mm AR's are straight blowback, so the total weight of the bolt/buffer assembly (mass really, but you follow) controls how quickly the bolt opens after firing. Too light a buffer and the bolt opens early, while the chamber pressure is too high. In extreme cases case failure results. (There are other variables; barrel length, spring rates and ammo loading being the main ones)
I run a long, 8 oz buffer in my 9mm AR, and it works great.
A rifle buffer is both too short (in a rifle extension, for a 9mm bolt) and only 5.2 oz. The very lightest commercial 9mm buffer is 5.5 oz, and most are 6.5 to 9 (ish) oz.
I built my 9mm from parts, and dislike brass fragments to the face, so I went heavy, and figured I could back off the buffer if the carbine didn't function. As it turned out I didn't need to.
In your situation, assuming your gun functions well now, I wouldn't mess with the bolt/buffer/spring. Buy an A2 stock and receiver extension. Measure your curent tube and the new one, on the inside, from the back wall to the edge. Find the difference. Get a piece of solid aluminium round stock that just fits inside the tube and cut it to the length needed to make up the difference in the extensions. Then mount the new stock and put spacer->old spring->9mm buffer, in that order, in the receiver extension and rock on. That way the bolt and buffer will be reciprocating in the same space, at the same speed they are now. You'll add a couple ozs to the back of the rifle, but I'd bet you'll be hard pressed to notice them.