yes, properly set up and in the correct enclosure.
do not waste your time on prefab enclosures. there's plenty of people on this forum to help you design one that fits within your specific dimensions available, and even a few who will build the enclosure for you.