Potentially, but the layout must provide suitable access, ventilation, appliance clearances and safe fixing points.

Check the appliance requirements and use an appropriately experienced installer.