Automatically Hide Category If No Products

Hi,

Is it possible to automatically hide categories if there is no products in it?

Thanks.

It is not possible out of the box

Thank you for your fast answer.