One way is OER, aka Owners Equivalent Rent. Great article https://wolfstreet.com/2021/03/11/house-price-inflation-in-c... (look at that graph half way down).
Another way is "hedonic adjustments". https://www.economicshelp.org/blog/603/inflation/hedonics-an...