@Marcos Carbi yes, it is possible to house hack a STR. For instance, if you find a duplex that's in a good STR area, you could live in one unit while STR'ing the other unit (this would make your management of the STR much easier, as well--since you would be living right next door).
If you wanted to really max out your cashflow, get a duplex that has 3-4 bedrooms in one unit (where you'll live and rent out the rooms to long term tenants), and the other unit is a STR...doing that approach might really help your numbers pencil out. ...you could do similar strategies with a triplex, fourplex, etc...
If you're highly motivated and have the time and energy to do something like that, it would not only give you all the benefits of househacking that I described in my previous post, but it would also give you an education in STR (which is a different beast).
However, I personally would not try this strategy if I didn't know for sure that the STR unit could also cashflow as a MTR or LTR if needed. Always consider the possible exit strategies before you buy a property--I try to avoid buying properties that only have only one exit strategy or one use, because that's too much risk for me. ...If you found yourself in over your head with the management of the STR (which is much more time intensive to manage than a LTR), or if the STR market stalls and you have too much vacancy, you could pull the rip cord and turn it into a LTR (which would lower your cashflow, but would also free up a lot of your time, and lower your exposure to the numerous risks of STRs)...but if your STR only works as a STR, then you could easily find yourself between a rock and a hard place...know your exit strategies, and have sufficiently safe exit strategies to protect yourself from worst-case scenarios before you buy a property.
Having said all that, the househack/STR strategies I described above would usually be significantly riskier, and significantly more challenging that just buying a normal house and house hacking it...
Consider these two scenarios:
1. You buy a duplex and do the househack/STR strategy I described above. The STR eats up a ton of your time and money: buying furniture, staging it, getting professional photos for AirBNB, managing the AirBNB inquiries and reservations, responding to guest complaints and reviews, cleaning and re-stocking the unit after each stay (or managing and paying for a cleaner/re-stocker), switching lock codes after every stay, etc., etc. Because you have different strangers staying in your STR every few nights, you are exposed to an enormous amount of risk (e.g., property damage, an incompetent guest leaves the stove on or the property unlocked, a guest brings a child to the property who hurts themselves and the guest files a lawsuit, etc., etc.). The economy tanks, and now nobody is vacationing, so you have tons of vacancy and you're bleeding cash. The city bans STRs, and now you're operating illegally. etc., etc. Also, on top of all these potential headaches, you're also managing your house hack in the neighboring unit--which is a whole other set of headaches. ....I'm not saying you can't run a successful househack / STR, I'm saying that the STR will typically involve much more time intensive management, and much more risk than a well-executed LTR or househack. All things being equal, the chances of failure and/or burnout are higher with a STR than a LTR or LTR house hack. If you fail, or if you burn yourself out, it's very likely that you will abandon real estate all together (and I'm not singling you out--most people who have a really bad experience in real estate understandably abandon real estate and move on to more traditional W2 jobs, which can be far less stressful).
2. OR, you buy a typical house and house hack it. You get all the benefits that I described in my previous post. Because house hacking is a fairly straightforward strategy with relatively few moving pieces, you actually succeed: the property cashflows well and appreciates, and you don't find yourself in over your head with time intensive management, and all the aforementioned headaches of STRS. Because you succeed with the househack, you are well-positioned, and also highly motivated to go after another property...rinse and repeat, and in 5-6 years, you have 5-6 cashflowing, (hopefully) appreciating, relatively easy to manage LTR single family homes. ...or, perhaps you go into STRs after you househack--in which case, you will be much better-positioned and much more well-prepared to succeed with the STR (because you'll have the invaluable experiences gained from your previous househack).
In skiing, we don't take beginners down double black diamond trails--doing that would endanger them and other people in the area. Also, there's virtually no chance that a beginner will succeed on a double black diamond (and it's very likely they'll hurt or even kill themselves). We start beginners off on easy terrain where they actually have a chance of learning, succeeding, and becoming motivated to learn and succeed even more (and with time, they may succeed enough to be ready for that double black diamond). We should operate in real estate the same way.
I *cringe* when I see folks with zero real estate experience talk about trying to wholesale syndicate rehab flip a 500 unit portfolio in 10 different cities. Do the thing that's appropriate for your level of experience, do the thing that you're likely to succeed at first, and then gradually move up to slightly more and more advanced techniques... but, to quote South Park: if you try to ski a double black diamond without first mastering the green circles, then the blue squares, and then the black diamonds, "you're gunna have a bad tiiiiime".
Good luck out there!