Proposal to encourage Hub Roleplay

So I was thinking about how to encourage roleplaying in hubs, and an idea came to me, would it be possible to give a temporary xp boost based on being in a hub and roleplaying, I would say, make it work for player buildings marked as storefronts, so that people can build their own businesses like canteenas and the like. The bonus should be based on the rating of the room, and could be set for npc owned structures.
As a caveat I would say it should be disabled when near crafting stations, because I don’t feel that would be in the spirit of the idea.
It would also need some kind of afk check.
As an addendum I would say make the bonus better based on how active the player is and how many other people are nearby,