Is it possible to have a minimal install of ERPNext ´?

Is it possible to get rid of some modules like the website, …? I’m only using ERPNext for a services company.

I only need: customers, items, invoices and accounting

You can’t erase them, but you can remove access permissions. That will make them invisible to users on the desk. Use the Role Permission Manager tool to make whatever access changes you’d like.