I might even advertise in bold letters that you are not and will never be accepting any form of rake compensation.
However, it is acceptable to ask your friends to reimburse you for food and beverages.
There was a guy who used to post here who ran a $1/$1 game. He had a dealer, and the dealer raked a single dollar out of ever pot that went to a flop. The game benefitted greatly from the dealer. And if the dealer raked $100 in a 4 hour session, it was a bargain for the players. (There was usually well over $5k on the table in this game)
That is the only circumstance where a home game rake makes sense to me.
If you think you need to be reimbursed for hosting, let somebody else host.