No, you cannot buy a house in Stick RPG 2 (or the original Stick RPG). The game focuses on stats, jobs, combat, and exploration—not property ownership.
If you want a stick-figure game WITH housing: Try Stickman Life (mobile), BitLife (text life sim, buy houses), or The Sims (full property system).