I assume you mean short-term only? I did for a while. I loved it but there were some logistical problems.
Pros: It's like having a roommate but you get more money and share your house for fewer nights. E.g. a roommate would have paid me $600 per month/30 days, but I could get $600 if I rented a room on Airbnb for 15 days.
Pros: Visitors spend more time out in the evenings than a regular roommate. Few people want to stay inside a STR all day. This means you don't feel like you are sharing as much and your house will be empty most evenings.
Pros: Your house stays really clean and you get paid for cleaning your own house!
Pros: You meant some cool people and sometimes get small gifts.
Pros: People sharing a space with you will be more considerate than a STR without you present.
Cons: People are idiots and you have all your worldly possessions in the same space. My one house rule was to lock the door when leaving the house. Lots of people did not lock the door???
Cons: You most likely will want to meet and greet the guests and that requires flexible working if you have a regular job. You can use features like smart locks/key pads for separate units but you might not want to do that if they are sharing a space with you.
Cons: It's not for the prudish. Most couples on holiday like to celebrate it.
Cons: Airbnb can be a fickle platform and you have to have thick skin when dealing with Airbnb and with guests. Will you be able to handle an undeserved 1* review?
Cons: It can be stressful to have to turn over a room after a day at your regular job.