You need to be more specific, are you talking about a copper hot water storage cylinder? If so, are you suggesting boxing it in so that there is no access? How about future repair, maintenance or replacement? It's generally not a good idea to box in plumbing fixtures like this for these reasons alone. If you are talking about an actual "boiler" (gas or oil fueled) there are regulations with regard to ventilation, separation from combustible surfaces etc.