Is there way we can get check box filters using the hierarchical data from an index?

Hi Team, I have the index with hierarchical attribute like(similar) below

hierarchicalCategories {

like this I have multiple records with different hierarchies.

Now the question is, is there a way where we can use lvl1 for check box filtering? instead of the hierarchical menu way of filtering(as hierarchical has no option to select multiple at a time)?

As there is a way to filter in the aloglia portal(screen shot below), I feel there should be a way where we can implement this kind of check box approach using refinement list.


Can you please let me know if we can create a check box filtering using refinement list using these hierarchical attributes please.

Or please let me know if there is any other way of implementing this.

Thanks in advance!!!