I did the same with out kitchen pantry cabinet to replace the deep shelves. 100% better now.
Have a narrow bathroom "nook" with the same issue. I'll take your insert side frame idea for this one as it is a perfect solution versus just trying to hit the one or two studs behind the wall.

Solid work as always Earl!