Floor joists, roof structure, head clearance, fire escape windows, an adequate fire escape route, stairs, ventilation, invalid insurance ..........these are just a few of the things to consider, there are many more.
I would ask you to really think about what you intend to do. The Building...