If you own or lease an aircraft hangar on a private airport, that airport may have some restrictions or limitations on what you can do inside your hangar. Other private airports do not have any restrictions on hangar use. It just depends upon the airport.
However, if you own or lease an aircraft hangar on a public airport that receives federal grants under the Airport Improvement Program (“AIP”), then you are definitely subject to restrictions upon how you can use your hangar. The FAA recently clarified its guidance on what an aircraft hangar owner or lessee on an AIP airport can and cannot do within his or her hangar. You can read more about these limitations in my latest article on the subject: What Are You Allowed To Do Inside Your Aircraft Hangar At An AIP Airport?.