That is the only way. You can get a tourist visa only through hotels in Qatar.