yeah this. You're totally allowed to have a kitchen in your office (though if it isn't already equipped for one you probably won't be hauling in nice appliances, no sense in building anything decent when you can get kicked out at any time), and you can probably get away with "hmm this seems like someone is just living here" with inspectors as long as there's no smoking gun (having a bed, mainly) and its not just super blatantly obvious. Even being a little messy can probably be gotten away with but it would raise less suspicion if cleaner (especially the more living oriented parts)
Honestly having a lot of the area dedicated to obvious desk/work space would cover a lot of other red flags. if you have a 3d printer and a computer setup, and any other hobby workspace you might want all in there it's going to draw attention away from a break room style kitchen or a futon area that looks a little too lived-in.
it's impossible because you think that working and making what would be a decent living anywhere else should even cover the cost of one bedroom, get real kiddo
All the smug dipshits telling them how cheap it is in the midwest (or further inland in CA) makes my blood boil. Yes, move to south dakota, then you can be in basically the same situation, but making so much less money that the lower rent barely fucking matters