Remove account module

Is it possible to remove account module and to work only on sales and buying models

Welcome to ERPNext!

No need to remove a module the beauty is everything is included right out of the box, so all is maintained and supported together as a unit.

However you can selectively hide them

As well as control user access with this

edit: Here’s the current modules list (with their associated model DocTypes)