It's always the issue, except the one time I had a man cave/HT room and speaker size, color and stands meant nothing, so easy that way!Finding a truly practical/functional cabinet for A/V isn't as simple as it sounds. Most of them gear for looks/decor and less for functionality. It really depends how important either are for you and the other people in the house. Open shelved cabinet would be the best for storing gear. Speaker inside a cabinet, let alone one with a rear port is not optimal.
The struggle is real and I have never put anything in an enclosed cabinet but one time and that was because the design allowed for tinted glass fronts and enough space where I installed some ultra quiet and large PC fans for excellent air flow (plus it had a half open back)...great unit.
The main struggle I'm facing now is AVR space, 6hx18d and need ventilation