I would generally recommend against it, and will not do it for customers as a professional mechanic. This can obviously be made to work OK with relatively low offroad pressures, but generally takes some experimentation to see how much the rim bed needs to get built up to get a good tolerance fit between the bead and the rim and is still more prone to failure.
The most practical option (particularly if the bike is mostly a commuter and not used very much for actual mountain biking) is more puncture protective tires.