H1b can't be realtors. You can buy and sell the house you live in, and not too frequently. For any other job you want to do, you need to get sponsorship for the working visa from the employer.