Affirmative, if you have root and grant root to SD Maid it certainly can. Know very well what you doing in such a case! Maybe
@Dark3n is able to elaborate more precisely than me or he might even recommend his new app as better suited for your needs:
SD Maid SE (aka. SD Maid 2) is the successor to SD Maid (SD Maid 1/ SD Maid Legacy). A new app, optimized for modern Android versions, and ready for Google's future challenges 😌. Description: SD Maid SE is an open-source zero-bull**** system...
forum.xda-developers.com
SD Maid SE should be able to clean more effectively in most cases, the newer your ROM and apps are, the better SD Maid 2/SE will be, vs SD Maid 1.
SD Maid 1 is better at uninstalling system apps though. This is currently not supported at all in SD Maid 2/SE and I'm not sure if I'll add it.
SD Maid 1 is also only able to do this on some ROMs. In general it's super trivcky and there is no "one size fits all" when going for uninstall of pre-installed apps. This was a huge pain point in SD Maid 1 and I have not found any solutions to make this easier. In many cases you basically need both ROM and root specific approaches to correctly uninstall pre-installed apps / system apps. I just can't keep up with that or buy hundreds of different ROMs to get this right (and it changes with every major Android update).
Combined with the danger that this poses (soft bricking your device), I'm currently thinking this is something that is better suited for ROM specific debloating scripts.