Your first problem is that you're going to be in an appartment. A small grow, if any, would probably be much more safe than trying to stuff 300 plants in a room.
Appartment complexes have routine pest control, smoke alarm, service call, type things all the time. You WILL get popped if you try to have 289 plants in an appartment unless your situation is unique. Mark my words. Just go small with it.