yes, you can put an upright freezer in a closet. first, it needs ample space to ensure good airflow. if you can install a vent in the closet, leave the cupboard door open as it'll allow the air to flow.