This WordPress plugin gives the option to remove the users that have no posts, based on their role. Official page: Delete users with no posts – WordPress plugin Give a 5 star rating if you like this plugin. It helps a lot ðŸ™?