Convert from Fixed to Detachable magazines?

With how weapon mods currently work is it possible to modify say a mosin nagant or similar weapon with an internal magazine to instead accept detachable magazines without the need of making an entirely new weapon?

om6btne25az31
Like this?

Technically yes. I was more of thinking along the lines of trench mags from ww1 but yeah.