There are two ways to get rid of apps to debloat a ROM:
adb shell pm uninstall -k --user 0 <package-name>
(run on PC)rm -rf <package folder>
(on device, in Terminal of TWRP)
The first method has one big advantage - deleted apps can be restored by
adb shell cmd package install-existing <package_name>
But the diasadvantage - it still consumes memory.
So best would be to do the first method until you see is is all fine - not debloated to much. To not manually do the "rm" and selection of packages - is there a good way to list the uninstalled packages and generate a list for the "rm" command? Thanks for your attention.