If you’re willing to flag the KNOX warranty eFuse (0x01), yes. You’ll also lose KNOX and anything protected under it. Also do not expect Samsung to support the phone until it is brought back to stock.
How easy it is depends on the carrier. AT&T and Verizon are against rooting to the point they’re okay with ignoring a serious hardware security flaw but attack a exploit used for root. These can be rooted, but you need to have everything line up or they’ve probably patched it out already. T-Mobile sort of cares, but not like AT&T or Verizon. I don’t know much about Sprint, so it may or may not be a pain.
Usually these low end phones are subsidized by the carriers, so you need to keep in mind which carrier sells it because the OEMs are forced to give into them even if they don’t agree with their practices. I don’t think Samsung cares about root as much as the infamous two since they blow the eFuse instead of trying to actively prevent it.