Category creep and information overload

Is it possible to show categories but suppress subcategories in the hamburger menu?