Yes, Samsung G3812B Galaxy S3 Slim can be rooted using the Magisk. As you can see here, this guide provides a step-by-step process for rooting your device easily and safely.