Any property can be used for sublease as long as:
The original landlord agrees
The original lease allows a sublease agreement
A sublease agreement is acknowledged and allowed by state laws
The subtenant agrees that the property or space is habitable