That's what HK did for the Australian version of the SL8.
As semi-auto rifles are banned, they removed the gas block, piston and rod and turned the SL8 into a straight-pull bolt-action.
"Captain, they're really shooting at us. Why?"
"Easy boy. If they were really shooting at us, we'd be dead by now."