In the city I live in there are a lot of larger old houses that have been split into three living units, one on each floor. Theres no way to buy individual floors of these houses so if you want to own it yourself you either rent out two units or take two units of liveable space out of the market.
Owner occupied small properties are probably the least offensive kind of landlording, and in the example above, taking two units off the local market because you want to make sure the ethics are in check likely means two families will end up with worse landlords.
From a technical standpoint its still probably not ‘ethical’ but neither is half the things we have to do daily to not die the way the system is set up. Child and forced labor exist deep in the supply chain of materials that goes into our goods and food. Underage undocumented migrants fill US meat factories too.
First and foremost though, physician heal thyself. If this is the way you have to get housing for yourself, house yourself. No one else is going to house you because your ethics are on point. Maybe im a bad anarchist for this one, but if this property is the difference between you having a house and not, dont sweat it too much. Our society doesn’t exactly shower us with housing choices these days.
This may be cliche but your actions always extend further than you, the people to whom you chose kindness will help that kindness ripple out, and many won’t forget it. If we had the clarity to be able to see the entirety of the consequences of the actions we take like that we may just become overwhelmed with positive feelings for once.