I have no idea how to properly do it, but my idea is to lock the house and possibly things inside/ outside it, create a merchant and give him the key(s) if you don't end up finding another way to make the house buyable.
A few mods like that: Adventurers and Travelers and travellers and adventurers two seperate mods now part of Erso - Erkeil Real Skyrim. modules 10 and 10.2 skyrim.nexusmods.com/mods/26217/? Traveler's Of Skyrim adds various traveler's, merchants of different kind and mercenaries nexusmods.com/mods/15501//? They may be something you are interested in.