If this is a cat 4 condensing unit, High efficiency unit, (PVC piping going to the exterior of the building) with the combustion air coming from the outside and products of combustion exhausting to the outside is “should” be ok WITH the exception ( Did the installation follow the MFG. instructions?)
Does the AHJ have any conditions to change the MFG. recommended install?
If this is NOT the case then you may have a CO death machine in a bedroom with is NOT allowed in my part of the country… :shock:
As always you can check the label in/ on the unit for type, BTU’s and some tell you if it can be installed in a closet. This is where the manual is key which should be next or close by the unit… Your local gas company may have something to say about this install too.
Keep 'em alive…