Drum brake size change

I'm replacing my 7 1/4 rear end to an 8 3/4. My current drums are 10 inch by 1.75"
Can I just change the drums to the 10x2.5"? And then just get some 10x2.5 shoes?
Both old and new rear's have the 5x4 pattern.

Seems like that should work but wanted to throw it out here.
Thx!