gas central heat unit in sealed attic

Can a gas central heat unit be installed in a sealed attic that has sprayed in foam insulation?

What type of furnace?

A Cat IV with sealed combustion with the combustion intake and discharge to the outside would be just fine.