Because 99.9% of people are not going to maintain a hosts file, and don’t even know it exists. Not to mention you’d have to already know the IP of the sites you wanted to visit.
You’re basically arguing that phone books are a bad thing because people can just keep an address book.
Set up Home Assistant on a Pi or something for them. It can likely control everything from a central app