You cannot suppress accounts in the P&L. In some cases (as with cash and bank accounts), subsidiary ledgers are not displayed, only their control accounts. But not everything can be assigned to a control account.
I don’t know if it would be difficult or not. It seems this would be related to prior discussions of hierarchies in charts of accounts. You might search for those discussions. They may have been referred to as account tiers or levels.