Prioritizing compactness on a Phone while maintaining privacy (& security) within the constraints

is there anything I can change to make it work with building lineageos or does that require guidance even if possible?
(It seems I would plan to build lineage since that’s the way to expand the user slot limit but whatever)