No. The H-1b visa is a non-immigrant visa that allows you to work for a specific employer for a maximum period of 6 years (with some exceptions). In order to get a green card an employer (often your current employer) must follow a parallel process that involves filing of a certification with the department of labor and a separate petition (I-140) for your benefit.