What's a hotel though? Where I'm from, running a bed and breakfast (defined as 4 or fewer rooms and 8 or fewer guests) doesn't require any kind of special licensing.
Of course running it out of an apartment runs afoul of every rental agreement I've seen.